fix: 修改删除chart报错的问题
This commit is contained in:
@@ -471,6 +471,9 @@ export default {
|
|||||||
this.$message.error(response.msg)
|
this.$message.error(response.msg)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}).catch(() => {
|
||||||
|
this.chart = {}
|
||||||
|
this.$store.dispatch('clearPanel')
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
delChartOk () {
|
delChartOk () {
|
||||||
@@ -523,7 +526,7 @@ export default {
|
|||||||
this.filter.id = this.$refs.pickTime.$refs.timePicker.showTime.id
|
this.filter.id = this.$refs.pickTime.$refs.timePicker.showTime.id
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
this.getData(this.filter)
|
this.getData(this.filter)
|
||||||
this.$store.dispatch('dispatchPanelTime',{
|
this.$store.dispatch('dispatchPanelTime', {
|
||||||
time: this.searchTime,
|
time: this.searchTime,
|
||||||
nowTimeType: this.nowTimeType
|
nowTimeType: this.nowTimeType
|
||||||
})
|
})
|
||||||
@@ -766,7 +769,7 @@ export default {
|
|||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
this.$store.dispatch('dispatchPanelTime',{
|
this.$store.dispatch('dispatchPanelTime', {
|
||||||
time: this.searchTime,
|
time: this.searchTime,
|
||||||
nowTimeType: {
|
nowTimeType: {
|
||||||
id: 4,
|
id: 4,
|
||||||
|
|||||||
Reference in New Issue
Block a user