fix(仪表板): 取消收藏成功没有提示

This commit is contained in:
fit2cloud-chenyw 2022-07-06 02:16:51 -04:00
parent b7f9e8fd7c
commit 1cd74930a1

View File

@ -70,6 +70,8 @@ export default {
}, },
remove(row) { remove(row) {
deleteEnshrine(row.panelGroupId).then(res => { 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.initData()
this.panelInfo && this.panelInfo.id && row.panelGroupId === this.panelInfo.id && this.setMainNull() this.panelInfo && this.panelInfo.id && row.panelGroupId === this.panelInfo.id && this.setMainNull()
}) })