jinx 6 months ago
parent
commit
035fdd7c01
1 changed files with 11 additions and 1 deletions
  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') },