修改已知bug

This commit is contained in:
qq787203167
2022-06-01 17:48:32 +08:00
parent 2a45b4fef8
commit a54f6e31e6
+5 -5
View File
@@ -139,14 +139,14 @@ service.interceptors.request.use(config => {
if (config.url.indexOf('sys/dict/getDictItems') < 0) {
config.params = {
_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 = {
cut: cut,
...config.data
...config.data,
cut: cut
}
}
return config