feat:登录页面改造

This commit is contained in:
chenchun
2024-08-23 18:26:26 +08:00
parent 07c48479af
commit 5f402488d4
12 changed files with 88 additions and 32 deletions

View File

@@ -10,13 +10,8 @@ VITE_APP_BASE_API = '/dev-api'
# ws/开发环境
VITE_APP_BASE_WS = '/dev-ws'
#BBS
VITE_APP_BASE_URL='http://localhost:19001/api/app'
#RBAC
# VITE_APP_BASE_URL='http://localhost:19001/api'
#长连接
VITE_APP_BASE_URL_WS='http://localhost:19001/hub'

View File

@@ -22,21 +22,7 @@ const service = axios.create({
timeout: 10000,
//处理批零参数
paramsSerializer:params => {
// return qs.stringify(params,{indices:false})
// console.log(params,"params")
// if(params.id!=undefined)
// {
// if(Array.isArray(params.id) )
// {
// return "id="+params.id.join("&id=")
// }
// else
// {
// return "id="+params.id;
// }
// }
// return request.param(params);
return qs.stringify(params, {arrayFormat: 'repeat'});
},