forked from github/dataease
fix(仪表板): 取消收藏成功没有提示
This commit is contained in:
parent
b7f9e8fd7c
commit
1cd74930a1
@ -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()
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user