提交 67068aa4 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

refactor: 优化空仪表板收藏状态

上级 fc9ba6a6
......@@ -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
})
},
......
......@@ -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
})
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论