feat: 权限逻辑处理
This commit is contained in:
@@ -109,9 +109,9 @@ export const appConfigStore = defineStore({
|
||||
userLogin(data: loginData) {
|
||||
if (this.userLoginApi) {
|
||||
console.log(data);
|
||||
// return httpRequest({ api: this.userLoginApi, params: data, pathParams: {}, requestConfig });
|
||||
return httpRequest({ api: this.userLoginApi, params: data, pathParams: {}, requestConfig });
|
||||
|
||||
return http.post(this.userLoginApi, data);
|
||||
// return http.post(this.userLoginApi, data);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user