Ver Fonte

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

xingyu há 2 anos atrás
pai
commit
fb65423b62
1 ficheiros alterados com 1 adições e 0 exclusões
  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()
       }
     }