diff --git a/ruoyi-ui/src/layout/components/Navbar.vue b/ruoyi-ui/src/layout/components/Navbar.vue index 287ff106b..2d6478b6d 100644 --- a/ruoyi-ui/src/layout/components/Navbar.vue +++ b/ruoyi-ui/src/layout/components/Navbar.vue @@ -74,7 +74,6 @@ import RuoYiGit from '@/components/RuoYi/Git' import RuoYiDoc from '@/components/RuoYi/Doc' import { tenantList } from "@/api/login"; import { dynamicClear, dynamicTenant } from "@/api/system/tenant"; -import { listUser } from "@/api/system/user"; export default { data() { @@ -126,17 +125,11 @@ export default { dynamicTenant(tenantId).then(res => { this.$router.push("/index"); }); - listUser().then(res => { - this.userList = res.rows; - }) } }, dynamicClearEvent() { dynamicClear().then(res => { this.$router.push("/index"); - listUser().then(res => { - this.userList = res.rows; - }) }); }, // 租户列表