fix: 去除 asset,alertMessage,endpoint 路由 url path 中无用参数

This commit is contained in:
@changcode
2021-12-27 15:41:58 +08:00
parent 28127e3653
commit 57f06c050d
3 changed files with 10 additions and 4 deletions

View File

@@ -735,7 +735,9 @@ export default {
...this.searchCheckBox
}
const path = this.fromRoute.alertMessage
this.updatePath(param, path)
const routePathParams = lodash.cloneDeep(param)
delete routePathParams.statistics
this.updatePath(routePathParams, path)
this.$get(this.url, { ...this.searchLabel, ...this.searchCheckBox }).then(response => {
this.tools.loading = false
if (response.code == 200) {