fix: 修改 overview 跳转dc 不显示的问题

This commit is contained in:
zhangyu
2022-09-19 10:57:58 +08:00
parent 2973f1cf71
commit 4241804787
3 changed files with 20 additions and 5 deletions

View File

@@ -96,7 +96,12 @@ export default {
if (this.switchTab) {
dataListParam.switchTab = this.switchTab
}
const path = this.$route.fullPath.match(/\/(\S*)\?/)[1]
let path = this.$route.fullPath.match(/\/(\S*)\?/)
if (!path) {
path = ''
} else {
path = path[1]
}
this.updatePath(dataListParam, path)
this.$get(this.url, { ...this.searchLabel, ...this.searchCheckBox }).then(response => {
this.tools.loading = false