fix: 修复有时下钻后参数丢失的问题
This commit is contained in:
@@ -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 || ''
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 || ''
|
||||||
|
|||||||
Reference in New Issue
Block a user