NEZ-3480 fix: 列表页面 二级页面打开 切换tab错误
This commit is contained in:
@@ -296,7 +296,7 @@ export default {
|
||||
sameLabels: ['instance', 'module', 'project', 'asset', 'endpoint', 'datacenter'],
|
||||
legend: [],
|
||||
searchTime: [],
|
||||
searchTimeHeader: [bus.timeFormate(new Date(bus.computeTimezone(new Date().getTime())).setHours(new Date(bus.computeTimezone(new Date().getTime())).getHours() - 24 * 7)), bus.timeFormate(new Date(bus.computeTimezone(new Date().getTime()))), '7d'],
|
||||
searchTimeHeader: [bus.timeFormate(new Date(bus.computeTimezone(new Date().getTime())).setHours(new Date(bus.computeTimezone(new Date().getTime())).getHours() - 1)), bus.timeFormate(new Date(bus.computeTimezone(new Date().getTime()))), '1h'],
|
||||
searchTimeSelect: bus.getTimezontDateRange(),
|
||||
currentMsg: {},
|
||||
chartUnit: 5,
|
||||
@@ -311,9 +311,9 @@ export default {
|
||||
isError: false,
|
||||
errorContent: '',
|
||||
chartInfo: {},
|
||||
defaultPick: 10,
|
||||
defaultPickType: 'date',
|
||||
defaultPickVal: 7
|
||||
defaultPick: 4,
|
||||
defaultPickType: 'hour',
|
||||
defaultPickVal: 1
|
||||
}
|
||||
},
|
||||
created () {
|
||||
|
||||
@@ -287,9 +287,9 @@ export default {
|
||||
},
|
||||
showBottomBox (targetTab, row) {
|
||||
this.sign = row.id
|
||||
if (!this.bottomBox.showSubList) {
|
||||
this.bottomBox.targetTab = targetTab
|
||||
}
|
||||
// if (!this.bottomBox.showSubList) {
|
||||
this.bottomBox.targetTab = targetTab
|
||||
// }
|
||||
this.bottomBox.object = JSON.parse(JSON.stringify(row))
|
||||
this.bottomBox.showSubList = true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user