修复对话生成没有更新树
This commit is contained in:
@@ -73,7 +73,6 @@ const initialize = ()=>{
|
||||
|
||||
const setSelectItem = (item)=>{
|
||||
if(!item.versionId)return
|
||||
console.log(item)
|
||||
projectStore.setProject({nodeId: item.id})
|
||||
emit('update:selectItem', {...item})
|
||||
emit('selectNode')
|
||||
@@ -97,10 +96,6 @@ watch(()=>treeStateTime.value,(newVal,oldVal)=>{
|
||||
}
|
||||
})
|
||||
|
||||
watch(()=>props.selectItem,(newVal,oldVal)=>{
|
||||
// scrollToActive()
|
||||
},{immediate: true})
|
||||
|
||||
onMounted(()=>{
|
||||
initialize()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user