Kaynağa Gözat

增加判断

@dongkboy 1 yıl önce
ebeveyn
işleme
4bc3ca86b2

+ 4 - 2
src/views/organizationManagement/organization/organizationDetail.vue

@@ -163,8 +163,10 @@ const columns = [
   {
     prop: "exhibitionScope", label: "营业范围", width: '200', formatter: (row: any) => {
       let exhibitionScope = row.exhibitionScope;
-      let sysType = exhibitionScope.join(',');
-      return sysType;
+      if (exhibitionScope) {
+        let sysType = exhibitionScope.join(',');
+        return sysType;
+      }
     }
   },
   { prop: "division", label: "所属地区" },