From 6f35f9dc767e99ad701f7f6e2f5d4c52b6cc1d0f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 14 十月 2026 14:05:26 +0800
Subject: [PATCH] refactor(wls): 将级联选择组件替换为普通输入框

---
 src/store/auth.ts |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/store/auth.ts b/src/store/auth.ts
index 3643cf0..15fd19e 100644
--- a/src/store/auth.ts
+++ b/src/store/auth.ts
@@ -21,6 +21,7 @@
   socialLogin,
 } from '#/api';
 import { $t } from '#/locales';
+import { automaticApproval, loadAuditPolicy } from '#/store/audit-policy';
 
 export const useAuthStore = defineStore('auth', () => {
   const accessStore = useAccessStore();
@@ -134,6 +135,7 @@
     // eslint-disable-next-line no-useless-assignment
     let authPermissionInfo: AuthPermissionInfo | null = null;
     authPermissionInfo = await getAuthPermissionInfoApi();
+    await loadAuditPolicy();
     // userStore
     userStore.setUserInfo(authPermissionInfo.user);
     userStore.setUserRoles(authPermissionInfo.roles);
@@ -145,6 +147,7 @@
 
   function $reset() {
     loginLoading.value = false;
+    automaticApproval.value = false;
   }
 
   return {

--
Gitblit v1.9.3