Browse Source

fix: 修复类型判断不正确问题

rindy 2 năm trước cách đây
mục cha
commit
33832c781b
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      src/pages/Viewer.vue

+ 1 - 2
src/pages/Viewer.vue

@@ -212,8 +212,7 @@ const targetURL = computed(() => {
     if (bimChecked.value) {
         return `smart-bim.html?m=${project.value.bimData.bimOssFilePath}`
     }
-
-    if (source.value.type < 2) {
+    if (target.value.type < 2) {
         // 看看、看见场景
         return `smart-kankan.html?m=${target.value.num}${isDev ? '&dev' : ''}`
     } else {