fix
This commit is contained in:
@@ -39,6 +39,7 @@ const getVersionTree = ()=>{
|
||||
versionTree({
|
||||
projectId: projectStore.state.id
|
||||
}).then(res => {
|
||||
if(!res)return
|
||||
setVersionsList([res])
|
||||
})
|
||||
}
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
() => proJectId.value,
|
||||
(newVal, oldVal) => {
|
||||
if (newVal) {
|
||||
projectStore.clearProject()
|
||||
projectStore.setId(newVal)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user