feat: 视图字段可调整高度

This commit is contained in:
junjun 2022-06-09 18:43:10 +08:00
parent 41f8907926
commit 11bc090fdf

View File

@ -85,7 +85,7 @@
/> />
</div> </div>
<div class="field-split"> <div v-if="fieldShow" class="field-split">
<fu-split-pane top="50%" direction="vertical"> <fu-split-pane top="50%" direction="vertical">
<template v-slot:top> <template v-slot:top>
<div class="padding-lr field-height"> <div class="padding-lr field-height">
@ -1030,7 +1030,6 @@ import { pluginTypes } from '@/api/chart/chart'
import ValueFormatterEdit from '@/views/chart/components/value-formatter/ValueFormatterEdit' import ValueFormatterEdit from '@/views/chart/components/value-formatter/ValueFormatterEdit'
import ChartStyle from '@/views/chart/view/ChartStyle' import ChartStyle from '@/views/chart/view/ChartStyle'
import CustomSortEdit from '@/views/chart/components/compare/CustomSortEdit' import CustomSortEdit from '@/views/chart/components/compare/CustomSortEdit'
import { TYPE_CONFIGS } from '@/views/chart/chart/util'
export default { export default {
name: 'ChartEdit', name: 'ChartEdit',
components: { components: {
@ -1176,7 +1175,8 @@ export default {
valueFormatterItem: {}, valueFormatterItem: {},
showCustomSort: false, showCustomSort: false,
customSortList: [], customSortList: [],
customSortField: {} customSortField: {},
fieldShow: false
} }
}, },
@ -1342,6 +1342,7 @@ export default {
}) })
} }
} }
this.fieldShow = true
}).catch(err => { }).catch(err => {
console.log(err) console.log(err)
this.resetView() this.resetView()