Explorar o código

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

rindy %!s(int64=2) %!d(string=hai) anos
pai
achega
33832c781b
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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 {