Merge pull request #4385 from dataease/pr@dev@refactor_echart-line-symbol

refactor(视图): 控制视图导出图片权限跟随仪表板导出权限
This commit is contained in:
王嘉豪 2023-01-16 16:30:23 +08:00 committed by GitHub
commit 0b01e37f80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

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"

View File

@ -277,8 +277,8 @@ export const THEME_ATTR_TRANS_SLAVE1_BACKGROUND = {
// 移动端特殊属性
export const mobileSpecialProps = {
'lineWidth': 3, // 线宽固定值
'lineSymbolSize': 5// 折点固定值
'lineWidth': 2, // 线宽固定值
'lineSymbolSize': 8// 折点固定值
}
export function getScaleValue(propValue, scale) {