Explorar el Código

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

zws hace 7 meses
padre
commit
8df285aefb
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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>