|
@@ -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,
|