修改页面显示
parent
52cf4408be
commit
426752316c
|
|
@ -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,
|
||||
}
|
||||
});
|
||||
// 容器宽度
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue