前端最新版本同步

This commit is contained in:
Zhang.WH
2025-09-25 10:36:07 +08:00
parent a3a06d6f3c
commit 1276dc4adb
117 changed files with 11964 additions and 2466 deletions

View File

@@ -67,7 +67,8 @@
<script setup name="SetUser">
import bindUser from "./bindUser";
import { getTenantUserPage, unbindTenantUser } from "@/api/system/tenant";
// 在 <script setup> 顶部添加导入
import { ref, reactive, onMounted } from "vue"; // 补充 onMounted 导入
const route = useRoute();
const { proxy } = getCurrentInstance();
const { sys_normal_disable } = proxy.useDict("sys_normal_disable");
@@ -140,5 +141,8 @@ function cancelBindUserAll() {
}).catch(() => { });
}
getList();
// 显式使用 onMounted组件挂载后执行数据加载
onMounted(() => {
getList(); // 组件挂载完成后,发起用户列表请求
});
</script>