refactor: ♻️ 授权页面重构

重构授权页面
This commit is contained in:
猿小天
2023-06-05 22:21:19 +08:00
parent 8c0a04ce61
commit f7b94e496c
11 changed files with 600 additions and 56 deletions

View File

@@ -24,12 +24,12 @@ function createService() {
serialize(params) {
return qs.stringify(params, {
indices: false,
encoder: (val: string) => {
if (typeof val === 'boolean') {
return val ? 1 : 0;
}
return val;
},
// encoder: (val: string) => {
// if (typeof val === 'boolean') {
// return val ? 1 : 0;
// }
// return val;
// },
});
},
},