Browse Source

fix: bpm 用onActivated替换onMounted
解决新增模型返回后不刷新新的数据

zws 7 months ago
parent
commit
8df285aefb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/bpm/model/index.vue

+ 2 - 0
src/views/bpm/model/index.vue

@@ -207,6 +207,8 @@ const getList = async () => {
 
 /** 初始化 **/
 onMounted(() => {
+})
+onActivated(()=>{
   getList()
 })
 </script>