feat: 补充用户模块权限json
This commit is contained in:
@@ -108,18 +108,10 @@ export const appConfigStore = defineStore({
|
||||
},
|
||||
userLogin(data: loginData) {
|
||||
if (this.userLoginApi) {
|
||||
return httpRequest({ api: this.userLoginApi, params: data, pathParams: {}, requestConfig });
|
||||
console.log(data);
|
||||
// return httpRequest({ api: this.userLoginApi, params: data, pathParams: {}, requestConfig });
|
||||
|
||||
// return http.post(this.userLoginApi, data, {
|
||||
// transformRequest: [
|
||||
// (mode, headers) => {
|
||||
// if (headers.qsToken) {
|
||||
// delete headers.qsToken;
|
||||
// }
|
||||
// return JSON.stringify(mode);
|
||||
// },
|
||||
// ],
|
||||
// });
|
||||
return http.post(this.userLoginApi, data);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user