Merge pull request #9405 from dataease/pr@dev-v2@refactor_history-mobile

Pr@dev v2@refactor history mobile
This commit is contained in:
王嘉豪 2024-04-28 15:00:12 +08:00 committed by GitHub
commit 256f2de8a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View File

@ -72,11 +72,9 @@
<el-row v-if="state.curNodeId"> <el-row v-if="state.curNodeId">
<el-row style="margin-top: 5px"> <el-row style="margin-top: 5px">
<div style="display: flex" class="inner-content"> <div style="display: flex" class="inner-content">
<div style="flex: 1">{{ t('visualization.link_view') }}</div> <div style="flex: 1">联动组件</div>
<div style="width: 36px"></div> <div style="width: 36px"></div>
<div style="flex: 1"> <div style="flex: 1">联动组件字段</div>
{{ t('visualization.link_view_field') }}
</div>
<div style="width: 32px"></div> <div style="width: 32px"></div>
</div> </div>
<div style="width: 100%; max-height: 350px; overflow-y: auto"> <div style="width: 100%; max-height: 350px; overflow-y: auto">

View File

@ -131,6 +131,10 @@ export function initCanvasDataPrepare(dvId, busiFlag, callBack) {
componentItem.y = 1 + (componentItem.y - 1) * 2 componentItem.y = 1 + (componentItem.y - 1) * 2
componentItem.sizeX = componentItem.sizeX * 2 componentItem.sizeX = componentItem.sizeX * 2
componentItem.sizeY = componentItem.sizeY * 2 componentItem.sizeY = componentItem.sizeY * 2
componentItem.mx = 1 + (componentItem.mx - 1) * 2
componentItem.my = 1 + (componentItem.my - 1) * 2
componentItem.mSizeX = componentItem.mSizeX * 2
componentItem.mSizeY = componentItem.mSizeY * 2
} }
}) })
const curPreviewGap = const curPreviewGap =