meixioacomponent 0.3.3 → 0.3.15
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.
- package/lib/meixioacomponent.common.js +105 -103
- package/lib/meixioacomponent.umd.js +105 -103
- package/lib/meixioacomponent.umd.min.js +8 -8
- package/package.json +1 -1
- package/packages/components/proForm/proForm/pro_form.vue +39 -34
- package/packages/components/proForm/proForm/pro_form_item.vue +0 -3
package/package.json
CHANGED
|
@@ -24,40 +24,42 @@
|
|
|
24
24
|
:class="[`${flexClass}`, size]"
|
|
25
25
|
>
|
|
26
26
|
<span slot="label" class="item-label">{{ item.label }}</span>
|
|
27
|
-
<
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
<slot
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
27
|
+
<template :style="{ width: `100% - ${labelWidth}` }">
|
|
28
|
+
<pro_form_itemVue
|
|
29
|
+
:form="form"
|
|
30
|
+
:size="size"
|
|
31
|
+
:config="item"
|
|
32
|
+
v-model="item.value"
|
|
33
|
+
:class="[`form-item-${item.key}`]"
|
|
34
|
+
@formItemConfirm="formItemConfirm"
|
|
35
|
+
@disableWatcherResult="disableWatcherResult"
|
|
36
|
+
:disableWatcher="setWatcher(item.key)"
|
|
37
|
+
v-if="formType == 'default' && item.type != 'area'"
|
|
38
|
+
>
|
|
39
|
+
<template slot="template" v-if="item.type == 'template'">
|
|
40
|
+
<slot :name="`form-${item.key}`" :scope="module"></slot>
|
|
41
|
+
</template>
|
|
42
|
+
</pro_form_itemVue>
|
|
43
|
+
<baseAreaVue
|
|
44
|
+
:disable="item.disabled"
|
|
45
|
+
v-if="item.type == 'area'"
|
|
46
|
+
:ref="`area-${item.key}`"
|
|
47
|
+
v-model="item.value"
|
|
48
|
+
:class="[`form-item-${item.key}`]"
|
|
49
|
+
@confirmAreaValue="
|
|
50
|
+
formItemConfirm({
|
|
51
|
+
config: item,
|
|
52
|
+
})
|
|
53
|
+
"
|
|
54
|
+
></baseAreaVue>
|
|
55
|
+
<baseUploadVue
|
|
56
|
+
v-model="item.value"
|
|
57
|
+
:max="formConfig.max"
|
|
58
|
+
v-if="formType == `upload`"
|
|
59
|
+
:uploadPath="item.uploadPath"
|
|
60
|
+
:class="[`form-item-${item.key}`]"
|
|
61
|
+
></baseUploadVue>
|
|
62
|
+
</template>
|
|
61
63
|
</el-form-item>
|
|
62
64
|
</div>
|
|
63
65
|
|
|
@@ -387,6 +389,9 @@ export default {
|
|
|
387
389
|
height: auto;
|
|
388
390
|
display: flex;
|
|
389
391
|
flex-flow: row wrap;
|
|
392
|
+
/deep/ .el-form-item__content {
|
|
393
|
+
line-height: inherit !important;
|
|
394
|
+
}
|
|
390
395
|
}
|
|
391
396
|
|
|
392
397
|
.form-skeleton-wrap {
|