meixioacomponent 0.3.14 → 0.3.17
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 +106 -104
- package/lib/meixioacomponent.umd.js +106 -104
- package/lib/meixioacomponent.umd.min.js +8 -8
- package/package.json +1 -1
- package/packages/components/proForm/proForm/pro_form.vue +36 -44
- package/packages/components/proForm/proForm/pro_form_item.vue +1 -1
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,6 @@ export default {
|
|
|
383
385
|
}
|
|
384
386
|
|
|
385
387
|
.pro-form-item-content {
|
|
386
|
-
width: auto;
|
|
387
|
-
height: auto;
|
|
388
|
-
display: flex;
|
|
389
|
-
flex-flow: row wrap;
|
|
390
388
|
/deep/ .el-form-item__content {
|
|
391
389
|
line-height: inherit !important;
|
|
392
390
|
}
|
|
@@ -418,12 +416,6 @@ export default {
|
|
|
418
416
|
margin-left: 0px !important;
|
|
419
417
|
}
|
|
420
418
|
|
|
421
|
-
.flex-row {
|
|
422
|
-
display: flex;
|
|
423
|
-
align-items: center;
|
|
424
|
-
flex-flow: row nowrap;
|
|
425
|
-
justify-content: flex-start;
|
|
426
|
-
}
|
|
427
419
|
.flex-column {
|
|
428
420
|
display: flex;
|
|
429
421
|
flex-flow: column nowrap;
|