【web】 历史切换bug

dev
Wangxin 8 months ago
parent 9a1ec73a6a
commit ff14ed67a0
  1. 1
      ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/detail.vue
  2. 4
      ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/history.vue

@ -832,7 +832,6 @@ mounted() {
} }
historyQuery(queryForm).then(response => { historyQuery(queryForm).then(response => {
this.historyQueryData = response.data this.historyQueryData = response.data
console.log("%c 🇸🇸: gethistoryQuery -> this.historyQueryData ", "font-size:16px;background-color:#bc384b;color:white;", this.historyQueryData)
this.loading = false this.loading = false
this.initCharts(); this.initCharts();
} }

@ -83,9 +83,11 @@ export default {
watch: { watch: {
dsId: { dsId: {
handler(val) { handler(val) {
console.log("%c 🏥: handler -> val ", "font-size:16px;background-color:#dd2d47;color:white;", val)
this.getList(val) this.getList(val)
}, },
deep: true deep: true,
immediate: true
} }
}, },
methods: { methods: {

Loading…
Cancel
Save