update currentOptions

duizhaopin_ui
13507605001 2 years ago
parent c7cef5d179
commit 5a2d483f8b

@ -400,13 +400,13 @@ export default {
this.loading = true
this.client_id = this.$store.getters.currentOptions[0].client_id
this.rclient_id = this.client_id
this.getMonitoringData()
home_info().then(res => {
this.initDataFunc(res.data)
this.initAllCharts()
}).finally(() => (this.loading = false))
this.remainingPageChange(1)
}
this.getMonitoringData()
home_info().then(res => {
this.initDataFunc(res.data)
this.initAllCharts()
}).finally(() => (this.loading = false))
this.remainingPageChange(1)
},
beforeDestroy() {
window.removeEventListener('resize', () => {

@ -385,8 +385,8 @@ export default {
created() {
if (this.$store.getters.currentOptions.length > 0) {
this.client_id = this.$store.getters.currentOptions[0].client_id
this.getTmpList()
}
this.getTmpList()
},
methods: {
//

Loading…
Cancel
Save