瀏覽代碼

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

zws 7 月之前
父節點
當前提交
8df285aefb
共有 1 個文件被更改,包括 2 次插入0 次删除
  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(() => {
 onMounted(() => {
+})
+onActivated(()=>{
   getList()
   getList()
 })
 })
 </script>
 </script>