|
|
@@ -62,7 +62,7 @@ service.interceptors.request.use(
|
|
|
// get请求映射params参数
|
|
|
if (config.method === 'get' && config.params) {
|
|
|
if (menuId && config.params) {
|
|
|
- config.params['scopeMenuId'] = menuId;
|
|
|
+ config.params['scopeMenuId'] = String(menuId);
|
|
|
}
|
|
|
console.log(config.params, ">>??????????????????????");
|
|
|
let url = config.url + '?' + tansParams(config.params);
|
|
|
@@ -73,7 +73,7 @@ service.interceptors.request.use(
|
|
|
|
|
|
if (!isRepeatSubmit && (config.method === 'post' || config.method === 'put')) {
|
|
|
if (menuId && config.data) {
|
|
|
- config.data['scopeMenuId'] = menuId;
|
|
|
+ config.data['scopeMenuId'] = String(menuId);
|
|
|
}
|
|
|
console.log(config.data, ">>??????????????????????");
|
|
|
const requestObj = {
|