fix: bpm 用onActivated替换onMounted
解决新增模型返回后不刷新新的数据
This commit is contained in:
1 parent
e76eda8af3
commit
8df285aefb
1 file changed
+2
@@ -207,6 +207,8 @@ const getList = async () => {
|
||||
|
||||
/** 初始化 **/
|
||||
onMounted(() => {
|
||||
})
|
||||
onActivated(()=>{
|
||||
getList()
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user