gemercheung 2 年之前
父節點
當前提交
9e6e10130e

+ 1 - 1
packages/qjkankan-editor/.env.testprod

@@ -8,4 +8,4 @@ VUE_APP_PROXY_URL='https://test.4dkankan.com/qjkankan/'
 VUE_APP_ORIGIN=
 VUE_APP_URL_FILL=/qjkankan
 VUE_APP_DEBBUG_FLAG=0626-02
-VUE_APP_DEBBUG_NOTIFY=1
+VUE_APP_DEBBUG_NOTIFY=0

+ 6 - 5
packages/qjkankan-editor/src/Store/modules/notice.js

@@ -38,11 +38,12 @@ export default {
       const data = await getNoticeApi();
       console.log("state", state);
       const preState = state.data;
-      Object.keys(data.data).forEach((i) => {
-        if (i in preState) {
-          preState[i] = data.data[i];
-        }
-      });
+      data.data &&
+        Object.keys(data.data).forEach((i) => {
+          if (i in preState) {
+            preState[i] = data.data[i];
+          }
+        });
 
       if (preState.tipStartTime && preState.tipEndTime) {
         const start = new Date(preState.tipStartTime);

+ 2 - 2
packages/qjkankan-editor/src/components/materialSelectorFromWork.vue

@@ -43,14 +43,14 @@
 
     <div class="table table-pano" v-show="currentMaterialType === 'pano'">
       <div v-show="panoList.length !== 0" class="table-body">
-       测试数据-- {{
+       <!-- 测试数据-- {{
           panoList.map((i) => {
             let t = {};
             t["id"] = i.id;
             t["sceneTitle"] = i.sceneTitle;
             return t;
           })
-        }}
+        }} -->
         <div
           class="table-body-row"
           v-for="(item) in panoList"