修改页面显示

v1.2.0
于肖磊 2025-01-22 17:11:51 +08:00
parent 52cf4408be
commit 426752316c
2 changed files with 9 additions and 3 deletions

View File

@ -1,8 +1,10 @@
<template>
<div class="auxiliary-line custom-data">
<el-form :model="form" label-width="70">
<common-content-top :value="form.content_top"></common-content-top>
<div class="divider-line"></div>
<template v-if="!isDataMagic">
<common-content-top :value="form.content_top"></common-content-top>
<div class="divider-line"></div>
</template>
<card-container>
<div class="mb-20">数据源</div>
<el-form-item label="动态数据">
@ -99,6 +101,10 @@ const props = defineProps({
magicWidth: {
type: Number,
default: 390,
},
isDataMagic: {
type: Boolean,
default: false,
}
});
//

View File

@ -105,7 +105,7 @@
</template>
<template v-else-if="form.data_type == 'custom'">
<div class="bg-f5 divider-line" />
<model-custom-content :key="key" :value="form" :magic-width="form.width" @data_source_change="data_source_change"></model-custom-content>
<model-custom-content :key="key" :value="form" :magic-width="form.width" :is-data-magic="true" @data_source_change="data_source_change"></model-custom-content>
</template>
<template v-else>
<div class="bg-f5 divider-line" />