meixioacomponent 0.3.13 → 0.3.16
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 -44
- 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
|
|
|
@@ -383,10 +385,9 @@ export default {
|
|
|
383
385
|
}
|
|
384
386
|
|
|
385
387
|
.pro-form-item-content {
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
flex-flow: row wrap;
|
|
388
|
+
/deep/ .el-form-item__content {
|
|
389
|
+
line-height: inherit !important;
|
|
390
|
+
}
|
|
390
391
|
}
|
|
391
392
|
|
|
392
393
|
.form-skeleton-wrap {
|
|
@@ -415,12 +416,6 @@ export default {
|
|
|
415
416
|
margin-left: 0px !important;
|
|
416
417
|
}
|
|
417
418
|
|
|
418
|
-
.flex-row {
|
|
419
|
-
display: flex;
|
|
420
|
-
align-items: center;
|
|
421
|
-
flex-flow: row nowrap;
|
|
422
|
-
justify-content: flex-start;
|
|
423
|
-
}
|
|
424
419
|
.flex-column {
|
|
425
420
|
display: flex;
|
|
426
421
|
flex-flow: column nowrap;
|