Merge pull request #4387 from dataease/pr@dev@refactor_echart-img-export

refactor(视图): 控制视图导出图片权限跟随仪表板导出权限
This commit is contained in:
王嘉豪 2023-01-16 17:50:07 +08:00 committed by GitHub
commit 726f183ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"