Merge branch 'dev-3.5' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.5-route

This commit is contained in:
zhangyu
2022-09-06 09:38:04 +08:00
12 changed files with 44 additions and 19 deletions

View File

@@ -30,7 +30,9 @@ export default {
// this.detailViewRightObj = ''
// }
this.detailType = flag
this.$router.replace({ query: { ...this.$route.query, detailType: flag } }).catch(err => {})
const query = { ...this.$route.query, detailType: flag }
query.bottomBox = this.detailType !== 'view'
this.$router.replace({ query: query }).catch(err => {})
let dataList = ''
localStorage.setItem('detail-view-' + this.tableId, this.detailType)
if (this.detailType === 'view') {