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

This commit is contained in:
wangjiahao 2023-01-16 17:48:12 +08:00
parent 3352f4ed41
commit d7aa3c6c7b

View File

@ -141,7 +141,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"