mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 19:48:18 +08:00
refactor(仪表板): 空仪表板禁止导出
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user