Skip to content

Commit 8df285a

Browse files
committed
fix: bpm 用onActivated替换onMounted
解决新增模型返回后不刷新新的数据
1 parent e76eda8 commit 8df285a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/views/bpm/model/index.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ const getList = async () => {
207207
208208
/** 初始化 **/
209209
onMounted(() => {
210+
})
211+
onActivated(()=>{
210212
getList()
211213
})
212214
</script>

0 commit comments

Comments
 (0)