forked from github/dataease
Merge pull request #3887 from dataease/pr@dev@refactor_panel-position
refactor(仪表板): 仪表板组件位置调整优化
This commit is contained in:
commit
17f9746be9
@ -91,7 +91,7 @@
|
||||
{{ $t('panel.hyperlinks') }}
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item
|
||||
v-if="curComponent.type !== 'user-view' && !curComponent.auxiliaryMatrix"
|
||||
v-if="curComponent.type !== 'view' && !curComponent.auxiliaryMatrix"
|
||||
@click.native="positionAdjust"
|
||||
>
|
||||
<i class="el-icon-map-location"/>
|
||||
|
@ -1883,6 +1883,7 @@ export default {
|
||||
back_parent: 'Back to previous'
|
||||
},
|
||||
panel: {
|
||||
position_adjust_component: 'Position adjust',
|
||||
active_font_size: 'Active font size',
|
||||
carousel: 'Carousel',
|
||||
switch_time: 'Switch time',
|
||||
|
@ -1883,6 +1883,7 @@ export default {
|
||||
back_parent: '返回上一級'
|
||||
},
|
||||
panel: {
|
||||
position_adjust_component: '位置調整',
|
||||
active_font_size: '激活字體大小',
|
||||
carousel: '輪播',
|
||||
switch_time: '切換時間',
|
||||
|
@ -1883,6 +1883,7 @@ export default {
|
||||
back_parent: '返回上一级'
|
||||
},
|
||||
panel: {
|
||||
position_adjust_component: '位置调整',
|
||||
active_font_size: '激活字体大小',
|
||||
carousel: '轮播',
|
||||
switch_time: '切换时间',
|
||||
|
@ -1115,8 +1115,21 @@
|
||||
:label="$t('panel.position_adjust')"
|
||||
class="padding-tab"
|
||||
style="width: 350px;"
|
||||
>
|
||||
<div class="attr-style theme-border-class">
|
||||
<el-collapse
|
||||
v-model="positionActiveNames"
|
||||
class="style-collapse"
|
||||
>
|
||||
<el-collapse-item
|
||||
:title="$t('panel.position_adjust_component')"
|
||||
:name="'positionAdjust'"
|
||||
>
|
||||
<position-adjust/>
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
</div>
|
||||
|
||||
</el-tab-pane>
|
||||
|
||||
</el-tabs>
|
||||
@ -1713,6 +1726,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
positionActiveNames: 'positionAdjust',
|
||||
loading: false,
|
||||
table: {},
|
||||
dimension: [],
|
||||
|
Loading…
Reference in New Issue
Block a user