leisure-core 0.5.34 → 0.5.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
<div class="form-grid" :style="gridStyle">
|
|
10
10
|
<el-form-item
|
|
11
11
|
v-for="(item, index) in formColumns"
|
|
12
|
-
:key="index"
|
|
13
12
|
:label="item.label"
|
|
14
13
|
:prop="item.prop"
|
|
14
|
+
:key="`form-item-${index}-${item.prop}`"
|
|
15
15
|
class="leisure-form-item-class"
|
|
16
16
|
>
|
|
17
17
|
<div class="comContainerClass">
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
>
|
|
25
25
|
<template v-if="item.type === 'radio'">
|
|
26
26
|
<el-radio
|
|
27
|
-
v-for="(option,
|
|
27
|
+
v-for="(option, radioIndex) in item.options"
|
|
28
28
|
:label="option.id"
|
|
29
|
-
:key="index
|
|
29
|
+
:key="`radio-${index}-${radioIndex}`"
|
|
30
30
|
>{{ option.lable }}</el-radio
|
|
31
31
|
>
|
|
32
32
|
</template>
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
:label="item.kv.label"
|
|
37
37
|
:value="item.kv.key"
|
|
38
38
|
:keyNum="item.keyNum"
|
|
39
|
+
:key="`select-${index}-${item.prop}`"
|
|
39
40
|
/>
|
|
40
41
|
</template>
|
|
41
42
|
</component>
|
|
@@ -146,6 +147,7 @@ export default {
|
|
|
146
147
|
},
|
|
147
148
|
},
|
|
148
149
|
select: { component: "le-select", props: {} },
|
|
150
|
+
smulti: { component: "le-select-multi", props: {} },
|
|
149
151
|
image: { component: "le-image-container", props: {} },
|
|
150
152
|
area: {
|
|
151
153
|
component: "le-area",
|
|
@@ -226,6 +228,7 @@ le-form-container {
|
|
|
226
228
|
display: flex;
|
|
227
229
|
display: -webkit-flex;
|
|
228
230
|
line-height: inherit;
|
|
231
|
+
justify-content: center; /* 水平居中 */
|
|
229
232
|
|
|
230
233
|
.compontClass {
|
|
231
234
|
flex: 1;
|