Merge pull request #1678 from dataease/pr@dev@refactor_panel_star_status

refactor: 优化空仪表板收藏状态
This commit is contained in:
fit2cloud-chenyw 2022-01-21 11:08:04 +08:00 committed by GitHub
commit 5c2ae56184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -517,7 +517,7 @@ export default {
})
},
initHasStar() {
starStatus(this.panelInfo.id, false).then(res => {
this.panelInfo && this.panelInfo.id && starStatus(this.panelInfo.id, false).then(res => {
this.hasStar = res.data
})
},

View File

@ -317,7 +317,7 @@ export default {
})
},
initHasStar() {
starStatus(this.panelInfo.id).then(res => {
this.panelInfo && this.panelInfo.id && starStatus(this.panelInfo.id).then(res => {
this.hasStar = res.data
})
},