Selaa lähdekoodia

fix: playRepeat 讲解

jinx 5 kuukautta sitten
vanhempi
commit
6bd31fa9b3

+ 1 - 1
packages/qjkankan-editor/src/framework/play/pano/components/new-list.vue

@@ -70,7 +70,7 @@
       </div>
     </div>
 
-    <div class="bottom-com" :style="`width:${catalogRootW>1150 ?'100%':catalogRootW+'px' };`">
+    <div class="bottom-com" :style="`width:${catalogRootW > 1150 ? '100%' : catalogRootW + 'px'};`">
       <div v-if="info.navigationTrees.length > 1" :style="`width:${catalogRootW}px;`" class="root-group-list swiper-container" ref="root-group">
         <div class="swiper-wrapper root-group-wrapper">
           <div

+ 1 - 1
packages/qjkankan-view/src/hooks/useAudio.js

@@ -120,7 +120,7 @@ function watchUpdateCurrentScenEexplanation(data) {
   if (currentExplanation) {
     store.dispatch("audio/initExplanationBGM", {
       url: currentExplanation.audioUrl,
-      repeat: currentExplanation.repeat,
+      repeat: currentExplanation.playRepeat,
       isAuto: currentExplanation.openByDefault,
     });
   } else {