|
@@ -57,7 +57,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script setup lang="ts">
|
|
|
-// import ClipboardJS from "clipboard";
|
|
|
+//@ts-nocheck
|
|
|
import browser from "/@/utils/browser";
|
|
|
// import { useStore } from "vuex";
|
|
|
// import { Dialog } from "@/global_components/";
|
|
@@ -80,20 +80,20 @@ if (share_url) {
|
|
|
// const musicPlayer = useMusicPlayer()
|
|
|
// const store = useStore();
|
|
|
const metadata = computed(() => sceneStore.metadata);
|
|
|
-const controls = computed(() => {
|
|
|
- return sceneStore.metadata.controls;
|
|
|
-});
|
|
|
+// const controls = computed(() => {
|
|
|
+// return sceneStore.metadata.controls;
|
|
|
+// });
|
|
|
const showMusicPlaying = ref(false);
|
|
|
-const showMusic = computed(() => sceneStore.metadata.music);
|
|
|
+// const showMusic = computed(() => sceneStore.metadata.music);
|
|
|
const player = computed(() => appStore.player);
|
|
|
|
|
|
-const copy$ = ref(null);
|
|
|
-const copyLink = ref(share_url);
|
|
|
+// const copy$ = ref(null);
|
|
|
+// const copyLink = ref(share_url);
|
|
|
const showCopy = ref(false);
|
|
|
const showShare = ref(false);
|
|
|
-const isMusicPlaying = ref(false);
|
|
|
+// const isMusicPlaying = ref(false);
|
|
|
|
|
|
-const mode = computed(() => appStore.mode);
|
|
|
+// const mode = computed(() => appStore.mode);
|
|
|
const isPanoramaMode = computed(() => appStore.mode === "panorama");
|
|
|
const description = computed(() => metadata.value.description);
|
|
|
watch(
|
|
@@ -191,17 +191,17 @@ const onMenuClick = (name) => {
|
|
|
showToolbar: true,
|
|
|
});
|
|
|
|
|
|
- nextTick(() => {
|
|
|
- if (name == "music") {
|
|
|
- onMusicClick();
|
|
|
- } else if (name == "share") {
|
|
|
- showCopy.value = true;
|
|
|
- } else if (name === "measure") {
|
|
|
- this.$bus.emit("measure/Handle", "start");
|
|
|
- } else if (name == "vr") {
|
|
|
- store.commit("showVR");
|
|
|
- }
|
|
|
- });
|
|
|
+ // nextTick(() => {
|
|
|
+ // if (name == "music") {
|
|
|
+ // onMusicClick();
|
|
|
+ // } else if (name == "share") {
|
|
|
+ // showCopy.value = true;
|
|
|
+ // } else if (name === "measure") {
|
|
|
+ // this.$bus.emit("measure/Handle", "start");
|
|
|
+ // } else if (name == "vr") {
|
|
|
+ // store.commit("showVR");
|
|
|
+ // }
|
|
|
+ // });
|
|
|
};
|
|
|
const onShare = (name) => {
|
|
|
if (name == "copy") {
|