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