forked from github/dataease
fix: 【仪表板】仪表板收藏后再取消,仪表板显示为空
This commit is contained in:
parent
24c5581def
commit
036bc45b6b
@ -165,8 +165,8 @@ export default {
|
||||
|
||||
}
|
||||
|
||||
>>> .el-radio-button__inner{
|
||||
padding: 5px;
|
||||
width: 30px;
|
||||
::v-deep .el-radio-button__inner{
|
||||
padding: 5px!important;
|
||||
width: 30px!important;
|
||||
}
|
||||
</style>
|
||||
|
@ -17,7 +17,7 @@
|
||||
</el-tabs>
|
||||
</de-aside-container>
|
||||
<de-main-container>
|
||||
<PanelViewShow v-if="mainActiveName==='PanelMain'" />
|
||||
<PanelViewShow v-if="mainActiveName==='PanelMain'" :active-tab="activeName" />
|
||||
</de-main-container>
|
||||
</de-container>
|
||||
</template>
|
||||
|
@ -83,6 +83,12 @@ import bus from '@/utils/bus'
|
||||
export default {
|
||||
name: 'PanelViewShow',
|
||||
components: { Preview, SaveToTemplate },
|
||||
props: {
|
||||
activeTab: {
|
||||
type: String,
|
||||
required: false
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
showMain: true,
|
||||
@ -194,7 +200,9 @@ export default {
|
||||
})
|
||||
},
|
||||
refreshStarList(isStar) {
|
||||
bus.$emit('panle_start_list_refresh', isStar)
|
||||
if (this.activeTab !== 'PanelList') {
|
||||
bus.$emit('panle_start_list_refresh', isStar)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user