feat:登录页面改造
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
@@ -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'});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user