jinx 6 月之前
父节点
当前提交
035fdd7c01
共有 1 个文件被更改,包括 11 次插入1 次删除
  1. 11 1
      src/pages/Viewer.vue

+ 11 - 1
src/pages/Viewer.vue

@@ -175,7 +175,17 @@ const mode = ref(0)
 const target = ref(null)
 const project = ref(null)
 const points = ref({ p1: null, p2: null })
-
+watch(
+    () => dbsChecked.value,
+    (val, old) => {
+        let tagsVieww = document.querySelector(`div[xui_tags_view]`)
+        if (val) {
+            tagsVieww.style.visibility = 'hidden'
+        } else {
+            tagsVieww.style.visibility = 'visible'
+        }
+    }
+)
 const densityTypes = ref([
     { type: 'high', text: t('common.high') },
     { type: 'middle', text: t('common.middle') },