Browse Source

增加展开的节点

duy 1 month ago
parent
commit
2edfb625bd
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/data-fill/components/jumpTreeDialog.vue

+ 3 - 1
src/views/data-fill/components/jumpTreeDialog.vue

@@ -115,6 +115,7 @@
 import { nextTick, ref, watch } from 'vue'
 import { getArrValue, getObjValue } from 'js-fast-way'
 import queryApi from '~api/data-fill/query'
+import { getStoreValue } from '~src/utils/storage'
 
 // 接收父组件传入的属性
 const props = defineProps({
@@ -134,6 +135,7 @@ const props = defineProps({
     type: String,
     default: '',
   },
+
 })
 
 // 事件
@@ -142,7 +144,7 @@ const contractId = ref(props.contractId)
 const classType = ref(props.classType) 
 const authBtnTabKey = ref(props.authBtnTabKey)
 const primaryKeyId = ref(props.primaryKeyId)
-
+const TreeAutoExpandKeys = ref(getStoreValue('wbsTreeExpandKeys') || [])
 // 监听
 watch(() => [
     props.contractId,