Explorar o código

Merge branch 'dev' of http://192.168.0.115:3000/chenzhiguang/qjkankan_v1.1.1 into dev

rindy hai 5 meses
pai
achega
85d128bc71

+ 1 - 1
packages/qjkankan-editor/src/framework/play/pano/index.vue

@@ -11,7 +11,7 @@
       frameborder="0"
     />
     <!-- v-if="showExplanation && currentScene?.explanation && currentScene?.explanation.audioId" -->
-    <div class="showexplanation" v-if="showExplanation && currentExplanation.fodderId"  >
+    <div class="showexplanation" v-if="showExplanation && currentExplanation.fodderId">
       <img :src="require(`@/assets/images/commentary@2x.png`)" alt="" />
     </div>
     <!-- <list></list> -->

+ 5 - 1
packages/qjkankan-view/src/sdk/QJKanKan/modules/hotspot.js

@@ -5,7 +5,11 @@
  *  */
 // import config from '../config'
 
-console.log("支持-structuredClone", "structuredClone" in globalThis);
+//console.log("支持-structuredClone", "structuredClone" in globalThis);
+
+const structuredClone = (obj) => {
+  return JSON.parse(JSON.stringify(obj)); 
+}
 
 const initState = {
   id: "",