shaun-sheep преди 4 години
родител
ревизия
56954a3b32
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 2 2
      public/systemConf.js
  2. 1 1
      src/views/legendLibrary/addLegend.vue

+ 2 - 2
public/systemConf.js

@@ -25,8 +25,8 @@ var __systemConf = {
     conf: {
         // 阿里云
         editerUrl: 'http://60.205.177.43:80/wandaEditer/', // 编辑器地址
-        // wandaBmGuideUrl: 'http://60.205.177.43:80/wandaBmGuide/', //管理书地址
-        wandaBmGuideUrl: 'http://192.168.200.100:8090/wandaBmGuide/', //管理书地址
+        wandaBmGuideUrl: 'http://60.205.177.43:80/wandaBmGuide/', //管理书地址
+        // wandaBmGuideUrl: 'http://192.168.200.13:8090/wandaBmGuide/', //管理书地址
     },
 }
 window.__systemConf = __systemConf

+ 1 - 1
src/views/legendLibrary/addLegend.vue

@@ -125,7 +125,7 @@ export default {
                 this.InfoTypeIdList = []
 
                 // this.InfosList = [...row.InfoLocal.map(({ id }) => id), ...row.InfoSystem]
-                this.InfosList = [...row.InfoLocal.map(({ id }) => id)]
+                this.InfosList = row.InfoLocal ? [...row.InfoLocal.map(({ id }) => id)] : []
                 this.InfoTypeIdList = row.InfoTypeId
                 console.log(this.InfosList, this.InfoTypeIdList)
                 console.log(this.info)