Browse Source

fix: 部门更新后 树没有更新

xingyu 2 years ago
parent
commit
fb65423b62
1 changed files with 1 additions and 0 deletions
  1. 1 0
      yudao-ui-admin-vue3/src/views/system/dept/index.vue

+ 1 - 0
yudao-ui-admin-vue3/src/views/system/dept/index.vue

@@ -167,6 +167,7 @@ const submitForm = async () => {
         dialogVisible.value = false
       } finally {
         actionLoading.value = false
+        await getTree()
         await reload()
       }
     }