|
11 | 11 | <el-slider |
12 | 12 | v-model="formProps.labelWidth" |
13 | 13 | style="width: 70px; margin-right: 6px;" |
14 | | - size="mini" |
| 14 | + size="small" |
15 | 15 | :format-tooltip="sliderFormat" |
16 | 16 | ></el-slider> |
17 | 17 | </template> |
|
23 | 23 | :min="3" |
24 | 24 | :max="15" |
25 | 25 | style="width: 70px; margin-right: 6px;" |
26 | | - size="mini" |
| 26 | + size="small" |
27 | 27 | ></el-slider> |
28 | 28 | <span style="font-size: 13px;">wrapperCol:</span> |
29 | 29 | <el-slider |
30 | 30 | v-model="formProps.wrapperColSpan" |
31 | 31 | :min="5" |
32 | 32 | :max="24" |
33 | 33 | style="width: 70px; margin-right: 6px;" |
34 | | - size="mini" |
| 34 | + size="small" |
35 | 35 | ></el-slider> |
36 | 36 | </template> |
37 | 37 |
|
38 | 38 | <el-checkbox |
39 | 39 | v-model="formProps.inline" |
40 | 40 | style="margin-right: 6px;" |
41 | | - size="mini" |
| 41 | + size="small" |
42 | 42 | > |
43 | 43 | Inline |
44 | 44 | </el-checkbox> |
45 | 45 | <el-checkbox |
46 | 46 | v-model="formFooter.show" |
47 | 47 | style="margin-right: 6px;" |
48 | | - size="mini" |
| 48 | + size="small" |
49 | 49 | > |
50 | 50 | 底部 |
51 | 51 | </el-checkbox> |
|
178 | 178 | <el-select |
179 | 179 | v-model="curVueForm" |
180 | 180 | placeholder="ui" |
181 | | - size="mini" |
| 181 | + size="small" |
182 | 182 | style="margin-left: 10px;width: 130px;" |
183 | 183 | @change="handleUiChange" |
184 | 184 | > |
@@ -225,14 +225,14 @@ import EditorHeader from 'demo-common/components/EditorHeader.vue'; |
225 | 225 | import CodeEditor from 'demo-common/components/CodeEditor'; |
226 | 226 | import schemaTypes from 'demo-common/schemaTypes'; |
227 | 227 |
|
228 | | -const VueElementForm = defineAsyncComponent(() => import('@lljj/vue3-form-element')); |
| 228 | +const VueElementForm = defineAsyncComponent(() => import('@lljj/vue3-form-element/src/index')); |
229 | 229 |
|
230 | 230 | let installedAntdv = false; |
231 | 231 | const VueAntForm = defineAsyncComponent(async () => { |
232 | 232 | // eslint-disable-next-line no-unused-vars |
233 | 233 | const [antdv, antForm] = await Promise.all([ |
234 | 234 | import('demo-common/components/Antdv/index.js'), |
235 | | - import('@lljj/vue3-form-ant') |
| 235 | + import('@lljj/vue3-form-ant/src/index') |
236 | 236 | ]); |
237 | 237 |
|
238 | 238 | return { |
@@ -339,16 +339,16 @@ export default { |
339 | 339 | }; |
340 | 340 | }, |
341 | 341 | trueFormFooter() { |
342 | | - const { |
343 | | - labelColSpan, |
344 | | - wrapperColSpan |
345 | | - } = this.formProps; |
| 342 | + // const { |
| 343 | + // labelColSpan, |
| 344 | + // wrapperColSpan |
| 345 | + // } = this.formProps; |
346 | 346 |
|
347 | 347 | return this.isUseLabelWidth ? (this.formFooter || {}) : { |
348 | 348 | formItemAttrs: { |
349 | 349 | wrapperCol: { |
350 | | - span: wrapperColSpan, |
351 | | - offset: labelColSpan |
| 350 | + span: 24, |
| 351 | + offset: 0 |
352 | 352 | } |
353 | 353 | } |
354 | 354 | }; |
@@ -435,7 +435,7 @@ export default { |
435 | 435 | labelPosition: 'top', |
436 | 436 | inlineFooter: false, |
437 | 437 | labelColSpan: 10, |
438 | | - wrapperColSpan: 12, |
| 438 | + wrapperColSpan: 24, |
439 | 439 | layoutColumn: 1 |
440 | 440 | }, |
441 | 441 | }; |
|
0 commit comments