forked from github/dataease
refactor(仪表板): 空仪表板禁止导出
This commit is contained in:
parent
29d0a57045
commit
8299080fb8
@ -168,6 +168,7 @@
|
||||
|
||||
<el-dropdown-item
|
||||
v-if="hasDataPermission('export',panelInfo.privileges)&&panelInfo.status==='publish'"
|
||||
:disabled="componentData.length===0"
|
||||
@click.native="saveToTemplate"
|
||||
>
|
||||
<svg-icon
|
||||
@ -190,6 +191,7 @@
|
||||
|
||||
<el-dropdown
|
||||
v-if="hasDataPermission('export',panelInfo.privileges)&&panelInfo.status==='publish'"
|
||||
:disabled="componentData.length===0"
|
||||
style="width: 100%"
|
||||
trigger="hover"
|
||||
placement="right-start"
|
||||
|
Loading…
Reference in New Issue
Block a user