修改法规清单的删除传参

This commit is contained in:
qq787203167
2022-04-28 11:59:26 +08:00
parent 3da72f375c
commit ea89e8aecb
+2 -1
View File
@@ -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)