소스 검색

线上热更

gemercheung 2 년 전
부모
커밋
943a95f800

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

@@ -7,4 +7,4 @@ VUE_APP_PROXY_URL_ROOT='https://www.4dkankan.com'
 VUE_APP_PROXY_URL='https://www.4dkankan.com/qjkankan/'
 VUE_APP_ORIGIN=
 VUE_APP_URL_FILL=/qjkankan
-VUE_APP_DEBBUG_FLAG=0508-02
+VUE_APP_DEBBUG_FLAG=0508-03

+ 2 - 1
packages/qjkankan-editor/src/views/hotspot/EditPanel.vue

@@ -55,7 +55,7 @@
               v-model.trim="hotspot.hotspotTitle"
               type="text"
               maxlength="50"
-              :placeholder="$i18n.t('hotspot.title_placeholder')" 
+              :placeholder="$i18n.t('hotspot.title_placeholder')"
             />
             <span class="count">{{ hotspot.hotspotTitle.length }}/50</span>
           </div>
@@ -347,6 +347,7 @@ export default {
         default:
           return 0;
       }
+  
     },
     currentTitlePositionIdx() {
       switch (this.hotspot.titlePosition) {

+ 1 - 0
packages/qjkankan-editor/src/views/material/style.less

@@ -274,6 +274,7 @@
   flex: 1 0 auto;
   box-sizing: border-box;
   height: 100%;
+  min-height: 42px;
   border: none;
   background: none;
   outline: none;

+ 4 - 1
packages/qjkankan-view/src/pages/show.vue

@@ -77,12 +77,15 @@ onMounted(async () => {
     return;
   }
   let res = await checkWork();
+
   if (!res.data) {
     workEnable.value = res.data;
     return;
   }
   getPanoInfo().then(async (data) => {
-    isShowOpeningAnimation.value = Number(data.isShowOpeningAnimation);
+    isShowOpeningAnimation.value = data.isShowOpeningAnimation
+      ? Number(data.isShowOpeningAnimation)
+      : 0;
     store.commit("scene/setScenes", data.scenes);
     store.commit(
       "scene/setPassword",

+ 3 - 1
packages/qjkankan-view/src/pages/showMobile.vue

@@ -79,7 +79,9 @@ onMounted(async () => {
     return;
   }
   getPanoInfo().then(async (data) => {
-    isShowOpeningAnimation.value = Number(data.isShowOpeningAnimation);
+    isShowOpeningAnimation.value = data.isShowOpeningAnimation
+      ? Number(data.isShowOpeningAnimation)
+      : 0;
     store.commit("scene/setScenes", data.scenes);
     store.commit(
       "scene/setPassword",