fix : 附件上传修复
This commit is contained in:
@@ -429,6 +429,7 @@ watchEffect(() => {
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
watch(() => props.loading, (newVal) => {
|
||||
props.loading = newVal
|
||||
}, {deep: true})
|
||||
|
||||
@@ -394,10 +394,6 @@ const handleSearch = () => {
|
||||
}
|
||||
})
|
||||
}
|
||||
if(props.title&&props.title==='check'){
|
||||
handleSearch()
|
||||
getTagsOption()
|
||||
}
|
||||
const handleUpload = () => {
|
||||
router.push({
|
||||
name: 'Implementation/upload',
|
||||
@@ -684,6 +680,10 @@ const handleSubmit = async () => {
|
||||
}
|
||||
}
|
||||
const init = async () => {
|
||||
if(props.title&&props.title==='check'){
|
||||
handleSearch()
|
||||
getTagsOption()
|
||||
}
|
||||
let id = projectId.value
|
||||
if (!id) return;
|
||||
processDiagramViewer.value = false
|
||||
@@ -742,6 +742,9 @@ watchEffect(() => {
|
||||
// console.log('projectPersonUserList.value',projectPersonUserList.value)
|
||||
return flag
|
||||
})
|
||||
onActivated(()=>{
|
||||
init()
|
||||
})
|
||||
onMounted(async () => {
|
||||
await init()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user