fix(仪表板): 修复社区版的新建用户无创建仪表板权限问题 #13439

This commit is contained in:
wangjiahao
2024-12-17 15:41:21 +08:00
committed by 王嘉豪
parent 30d6a378af
commit 8ef98d2390

View File

@@ -201,7 +201,7 @@
<span class="header-title">
{{ $t('panel.panel_list') }}
<el-button
v-if="hasDataPermission('manage', rootAuth)"
v-if="hasDataPermission('manage', rootAuth) || isLicNone"
style="float: right; padding-right: 7px; margin-top: -8px; height: 12px"
icon="el-icon-plus"
type="text"
@@ -656,6 +656,9 @@ export default {
}
},
computed: {
isLicNone() {
return this.$store.state.lic.licStatus === 'no_record'
},
panelDialogTitle() {
return this.editPanel.titlePre + this.editPanel.titleSuf
},