修改已知bug
This commit is contained in:
@@ -139,14 +139,14 @@ service.interceptors.request.use(config => {
|
|||||||
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,
|
||||||
cut: cut,
|
...config.params,
|
||||||
...config.params
|
cut: cut
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if ((config.method == 'post') || config.method == 'put') {
|
} else if (config.method == 'post' || config.method == 'put') {
|
||||||
config.data = {
|
config.data = {
|
||||||
cut: cut,
|
...config.data,
|
||||||
...config.data
|
cut: cut
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return config
|
return config
|
||||||
|
|||||||
Reference in New Issue
Block a user