fix: 修复有时下钻后参数丢失的问题

This commit is contained in:
chenjinsong
2022-08-31 21:30:37 +08:00
parent 76e17fc9dd
commit 6862e29663
3 changed files with 1 additions and 16 deletions

View File

@@ -363,11 +363,6 @@ export default {
this.$store.commit('setNetworkOverviewCurrentTab', curTab) this.$store.commit('setNetworkOverviewCurrentTab', curTab)
} }
this.$router.push({ this.$router.push({
name: 'panel',
path: this.$route.path,
query: {
t: +new Date()
},
params: { params: {
thirdPanel: curTable.panelIdOfThirdMenu ? curTable.panelIdOfThirdMenu : '', thirdPanel: curTable.panelIdOfThirdMenu ? curTable.panelIdOfThirdMenu : '',
fourthPanel: toPanel || '' fourthPanel: toPanel || ''

View File

@@ -807,16 +807,11 @@ export default {
// 如果面包屑的columnValue有值则不更新valueList // 如果面包屑的columnValue有值则不更新valueList
const valueList = [] const valueList = []
this.tableData.map(item => { this.tableData.forEach(item => {
valueList.push(item.tab) valueList.push(item.tab)
}) })
this.$store.commit('setBreadcrumbColumnValueList', valueList) this.$store.commit('setBreadcrumbColumnValueList', valueList)
this.$router.push({ this.$router.push({
name: 'panel',
path: this.$route.path,
query: {
t: +new Date()
},
params: { params: {
thirdPanel: this.curTable.panelIdOfThirdMenu, thirdPanel: this.curTable.panelIdOfThirdMenu,
fourthPanel: toPanel fourthPanel: toPanel

View File

@@ -271,11 +271,6 @@ export default {
this.$store.commit('setNetworkOverviewCurrentTab', curTab) this.$store.commit('setNetworkOverviewCurrentTab', curTab)
} }
this.$router.push({ this.$router.push({
name: 'panel',
path: this.$route.path,
query: {
t: +new Date()
},
params: { params: {
thirdPanel: curTable.panelIdOfThirdMenu ? curTable.panelIdOfThirdMenu : '', thirdPanel: curTable.panelIdOfThirdMenu ? curTable.panelIdOfThirdMenu : '',
fourthPanel: toPanel || '' fourthPanel: toPanel || ''