NEZ-1885 fix:panel面板删除后 刷新页面出现空白

This commit is contained in:
zyh
2022-06-02 11:01:03 +08:00
parent fa19253a60
commit 917f4d6ef6

View File

@@ -380,6 +380,14 @@ export default {
type: 'success', type: 'success',
message: this.$t('tip.deleteSuccess') message: this.$t('tip.deleteSuccess')
}) })
const param = {
panelId: 0,
nowTimeType: JSON.stringify(this.nowTimeType),
searchTime: JSON.stringify(this.searchTime),
mode: this.mode
}
const path = this.fromRoute.panel
this.updatePath(param, path)
this.getTableData(true) this.getTableData(true)
} else { } else {
this.$message.error(response.msg) this.$message.error(response.msg)