tremble 3 anni fa
parent
commit
0f4857609b
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 1 0
      src/framework/show/index.vue
  2. 1 0
      src/framework/showMobile/index.vue

+ 1 - 0
src/framework/show/index.vue

@@ -283,6 +283,7 @@ export default {
         if (newVal) {
         if (newVal) {
           if (newVal.hotspotType == "link") {
           if (newVal.hotspotType == "link") {
             window.open(newVal.hyperlink, "_blank");
             window.open(newVal.hyperlink, "_blank");
+            this.currentHotspot=''
             return;
             return;
           }
           }
           if (newVal.hotspotType == "scene") {
           if (newVal.hotspotType == "scene") {

+ 1 - 0
src/framework/showMobile/index.vue

@@ -385,6 +385,7 @@ export default {
     activeItem: {
     activeItem: {
       handler(newVal) {
       handler(newVal) {
         this.$nextTick(() => {
         this.$nextTick(() => {
+          this.currentHotspot=''
           if (newVal.type == "4dkk") {
           if (newVal.type == "4dkk") {
             this.embeM = null;
             this.embeM = null;
             this.otherLink = null;
             this.otherLink = null;