Merge pull request #2597 from dataease/pr@dev@fix_cancel_store_tips

fix(仪表板): 取消收藏成功没有提示
This commit is contained in:
fit2cloud-chenyw
2022-07-06 14:18:21 +08:00
committed by GitHub

View File

@@ -70,6 +70,8 @@ export default {
},
remove(row) {
deleteEnshrine(row.panelGroupId).then(res => {
const msg = this.$t('commons.cancel') + this.$t('panel.store') + this.$t('commons.success')
this.$success(msg)
this.initData()
this.panelInfo && this.panelInfo.id && row.panelGroupId === this.panelInfo.id && this.setMainNull()
})