delete 删除不必要的请求 ;

This commit is contained in:
zlyx 2023-02-09 19:15:24 +08:00
parent b356b6961d
commit 6b4c1b4c94

View File

@ -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;
})
});
},
//