|
@@ -67,7 +67,7 @@ watch(() => [
|
|
})
|
|
})
|
|
|
|
|
|
//自动展开缓存
|
|
//自动展开缓存
|
|
-const TreeAutoExpandKeys = ref(getStoreData('wbsTreeExpandKeys') || [])
|
|
|
|
|
|
+const TreeAutoExpandKeys = ref(getStoreData('firstItemTreeKeys') || [])
|
|
|
|
|
|
//类型tab数据和相关处理
|
|
//类型tab数据和相关处理
|
|
const tabTypeKey = ref(typeName)
|
|
const tabTypeKey = ref(typeName)
|
|
@@ -93,7 +93,8 @@ const nodeWbsElTreeClick = ({data, keys}) => {
|
|
//formValue.value.wbsId = data['primaryKeyId']
|
|
//formValue.value.wbsId = data['primaryKeyId']
|
|
//缓存自动展开
|
|
//缓存自动展开
|
|
TreeAutoExpandKeys.value = keys
|
|
TreeAutoExpandKeys.value = keys
|
|
- setStoreData('TreeExpandKeys', keys)
|
|
|
|
|
|
+ console.log(keys)
|
|
|
|
+ setStoreData('firstItemTreeKeys', keys)
|
|
} else {
|
|
} else {
|
|
//wbsId.value = ''
|
|
//wbsId.value = ''
|
|
treeItem.value = {}
|
|
treeItem.value = {}
|