|
@@ -33,7 +33,7 @@
|
|
|
<preview
|
|
|
:item="currentHotspot"
|
|
|
:show="showPreview"
|
|
|
- @close="showPreview = false"
|
|
|
+ @close="showPreview = false,currentHotspot=''"
|
|
|
/>
|
|
|
|
|
|
<ul class="aside" >
|
|
@@ -359,6 +359,7 @@ export default {
|
|
|
window.__krfn = __krfn;
|
|
|
|
|
|
this.$bus.on("clickHotspot", (data) => {
|
|
|
+ console.log(data);
|
|
|
let someData = this.activeItem.someData
|
|
|
if (typeof someData == 'string') {
|
|
|
someData = JSON.parse(this.activeItem.someData);
|
|
@@ -366,6 +367,8 @@ export default {
|
|
|
let idx = someData.hotspots.findIndex((item) => item.name == data);
|
|
|
|
|
|
this.currentHotspot = someData.hotspots[idx];
|
|
|
+
|
|
|
+ console.log(this.currentHotspot);
|
|
|
});
|
|
|
this.getSceneInfo();
|
|
|
},
|