mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 10:18:11 +08:00
feat(嵌入式): 仪表板和数据大屏编辑器在 DIV 嵌入方式下支持宽高自适应 #14869
This commit is contained in:
committed by
xuwei-fit2cloud
parent
df98398646
commit
c132025e0b
@@ -1608,6 +1608,12 @@ const saveValueFormatter = () => {
|
||||
closeValueFormatter()
|
||||
}
|
||||
|
||||
const elRowStyle = computed(() => {
|
||||
return {
|
||||
height: embeddedStore.getToken ? 'calc(100% - 45px)' : 'calc(100vh - 110px)'
|
||||
}
|
||||
})
|
||||
|
||||
const addCalcField = groupType => {
|
||||
editCalcField.value = true
|
||||
isCalcFieldAdd.value = true
|
||||
@@ -2038,7 +2044,7 @@ const deleteChartFieldItem = id => {
|
||||
</div>
|
||||
</el-row>
|
||||
|
||||
<el-row style="height: calc(100vh - 110px)">
|
||||
<el-row :style="elRowStyle">
|
||||
<el-scrollbar v-if="view.type === 'VQuery' && curComponent">
|
||||
<div class="query-style-tab">
|
||||
<div style="padding-top: 1px">
|
||||
|
||||
Reference in New Issue
Block a user