refactor(视图): 控制视图导出图片权限跟随仪表板导出权限

This commit is contained in:
wangjiahao 2023-01-16 16:27:07 +08:00
parent 1bb35285b0
commit 3352f4ed41

View File

@ -112,7 +112,7 @@
style="position: absolute;right: 70px;top:15px"
>
<el-button
v-if="showChartInfoType==='enlarge' && showChartInfo && showChartInfo.type !== 'symbol-map'"
v-if="showChartInfoType==='enlarge' && hasDataPermission('export',panelInfo.privileges)&& showChartInfo && showChartInfo.type !== 'symbol-map'"
class="el-icon-picture-outline"
size="mini"
@click="exportViewImg"