NEZ-1708 fix:Chart templates点击删除图表模板按钮后弹窗后点击取消浏览器报错,再次点击删除按钮失效
This commit is contained in:
@@ -421,6 +421,7 @@ export default {
|
|||||||
this.closeRightBox(true)
|
this.closeRightBox(true)
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(response.msg)
|
this.$message.error(response.msg)
|
||||||
|
this.$store.dispatch('clearPanel')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -512,6 +512,7 @@ export default {
|
|||||||
// this.getTableData(); //删除相关图表后,刷新面板数据
|
// this.getTableData(); //删除相关图表后,刷新面板数据
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(response.msg)
|
this.$message.error(response.msg)
|
||||||
|
this.$store.dispatch('clearPanel')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user