haojianlong %!s(int64=5) %!d(string=hai) anos
pai
achega
987899d1ed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/ledger/facility/addfacility.vue

+ 1 - 1
src/views/ledger/facility/addfacility.vue

@@ -289,7 +289,7 @@ export default {
           item.FloorId = item.flowBuild.split("-")[1]
         }
         //处理管理的系统
-        if (item.LinkSystem.length) {
+        if (item.LinkSystem && item.LinkSystem.length) {
           item.SystemList = []
           item.LinkSystem.map(t => {
             item.SystemList.push(t.id)