forked from github/dataease
fix: 默认仪表板不需要显示编辑按钮
This commit is contained in:
parent
77a31d7b8c
commit
066e6b57da
@ -23,7 +23,7 @@
|
||||
<span v-if="panelInfo.sourcePanelName" style="color: green;font-size: 12px">({{ $t('panel.source_panel_name') }}:{{ panelInfo.sourcePanelName }})</span>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<span v-if="hasDataPermission('manage',panelInfo.privileges)&&activeTab==='PanelList'" style="float: right;margin-right: 10px">
|
||||
<span v-if="hasDataPermission('manage',panelInfo.privileges)&&activeTab==='PanelList'&&!panelInfo.sourcePanelName" style="float: right;margin-right: 10px">
|
||||
<el-button size="mini" type="primary" @click="editPanel">
|
||||
{{ $t('commons.edit') }}
|
||||
</el-button>
|
||||
|
Loading…
Reference in New Issue
Block a user