mirror of
https://github.com/dataease/dataease.git
synced 2026-06-14 17:51:43 +08:00
fix(仪表板): 修复社区版的新建用户无创建仪表板权限问题 #13439
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user