gemercheung před 1 rokem
rodič
revize
1fd15c90b3

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

@@ -7,6 +7,6 @@ VUE_APP_PROXY_URL_ROOT='https://test.4dkankan.com'
 VUE_APP_PROXY_URL='https://test.4dkankan.com/qjkankan/'
 VUE_APP_ORIGIN=
 VUE_APP_URL_FILL=/qjkankan
-VUE_APP_DEBBUG_FLAG=010902
+VUE_APP_DEBBUG_FLAG=011502
 VUE_APP_DEBBUG_NOTIFY=0
 VUE_APP_MEGA_LIST_URL='https://uat-laser.4dkankan.com/laser/init/list'

+ 2 - 2
packages/qjkankan-editor/src/api/index.js

@@ -315,7 +315,7 @@ export function searchInAll3DScenes(data, ok) {
         sceneSource: "4",
         selectType: 1,
         snCode: null,
-        title: searchKey,
+        title: String(searchKey).trim(),
         cooperationUserName: null,
         folderId: "",
       },
@@ -331,7 +331,7 @@ export function searchInAll3DScenes(data, ok) {
         sceneSource: "5",
         selectType: 1,
         snCode: null,
-        title: searchKey,
+        title: String(searchKey).trim(),
         cooperationUserName: null,
         folderId: "",
       },

+ 1 - 1
packages/qjkankan-editor/src/pages/Edit.vue

@@ -17,7 +17,7 @@ export default {
   },
   mounted() {
     document.title = this.$i18n.t("gather.editpage_name");
-
+    window.store = this.$store
     window.addEventListener(
       "beforeunload",
       (e) => {

+ 5 - 0
packages/qjkankan-editor/src/views/screen/Setting.vue

@@ -130,6 +130,7 @@ export default {
                 vlookat,
                 hlookat,
               });
+              this.updateCurrentScene();
             },
             no: () => {
               this.applyToAll = false;
@@ -180,8 +181,12 @@ export default {
         }
       }
     },
+    updateCurrentScene() {
+      this.$store.dispatch("scene/syncCurrentSceneToStore");
+    },
   },
   mounted() {
+
     this.$bus.on("initView", (data) => {
       this.initImg = data;
     });