修改法规清单的删除传参
This commit is contained in:
@@ -135,7 +135,7 @@ service.interceptors.request.use(config => {
|
|||||||
}
|
}
|
||||||
config.headers['tenant_id'] = tenantid
|
config.headers['tenant_id'] = tenantid
|
||||||
//update-end-author:taoyan date:2020707 for:多租户
|
//update-end-author:taoyan date:2020707 for:多租户
|
||||||
if (config.method == 'get') {
|
if (config.method == 'get' || config.method == 'delete') {
|
||||||
if (config.url.indexOf('sys/dict/getDictItems') < 0) {
|
if (config.url.indexOf('sys/dict/getDictItems') < 0) {
|
||||||
config.params = {
|
config.params = {
|
||||||
_t: Date.parse(new Date()) / 1000,
|
_t: Date.parse(new Date()) / 1000,
|
||||||
@@ -149,6 +149,7 @@ service.interceptors.request.use(config => {
|
|||||||
...config.data
|
...config.data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
console.log(config)
|
||||||
return config
|
return config
|
||||||
}, (error) => {
|
}, (error) => {
|
||||||
return Promise.reject(error)
|
return Promise.reject(error)
|
||||||
|
|||||||
Reference in New Issue
Block a user