修改法规清单的删除传参
This commit is contained in:
@@ -135,7 +135,7 @@ service.interceptors.request.use(config => {
|
||||
}
|
||||
config.headers['tenant_id'] = tenantid
|
||||
//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) {
|
||||
config.params = {
|
||||
_t: Date.parse(new Date()) / 1000,
|
||||
@@ -149,6 +149,7 @@ service.interceptors.request.use(config => {
|
||||
...config.data
|
||||
}
|
||||
}
|
||||
console.log(config)
|
||||
return config
|
||||
}, (error) => {
|
||||
return Promise.reject(error)
|
||||
|
||||
Reference in New Issue
Block a user