meixioacomponent 0.2.72 → 0.2.75
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 +202 -193
- package/lib/meixioacomponent.umd.js +202 -193
- package/lib/meixioacomponent.umd.min.js +15 -15
- package/lib/style/element/index.css +1 -1
- package/package.json +1 -1
- package/packages/components/base/baseDrawer/index.vue +1 -2
- package/packages/components/proForm/proForm/pro_form_item.vue +2 -2
- package/packages/components/proPageTable/oa_pro_table.vue +2 -1
- package/packages/components/proPageTable/oa_pro_table_skeleton.vue +12 -2
- package/packages/components/style/element/index.css +1 -1
package/package.json
CHANGED
|
@@ -189,7 +189,7 @@ export default {
|
|
|
189
189
|
if (this.$props.header) {
|
|
190
190
|
return { height: `calc(100% - 56px)` };
|
|
191
191
|
} else {
|
|
192
|
-
return { height: `calc(100%
|
|
192
|
+
return { height: `calc(100%)` };
|
|
193
193
|
}
|
|
194
194
|
},
|
|
195
195
|
handleStyle() {
|
|
@@ -234,7 +234,6 @@ export default {
|
|
|
234
234
|
width: 100%;
|
|
235
235
|
overflow-y: auto;
|
|
236
236
|
position: relative;
|
|
237
|
-
margin-top: var(--margin-4);
|
|
238
237
|
}
|
|
239
238
|
}
|
|
240
239
|
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
:disabled="config.disabled"
|
|
112
112
|
@visible-change="visibleChange"
|
|
113
113
|
style="width: 100%; height: 100%"
|
|
114
|
-
v-else-if="config.type == 'select'"
|
|
114
|
+
v-else-if="config.type == 'select' && selectStore"
|
|
115
115
|
:multipleLimit="config.multipleLimit"
|
|
116
116
|
>
|
|
117
117
|
<el-option
|
|
@@ -252,7 +252,7 @@ export default {
|
|
|
252
252
|
return this.$props.config.multipleLimit ? true : false;
|
|
253
253
|
},
|
|
254
254
|
selectLoading() {
|
|
255
|
-
return this.selectStore
|
|
255
|
+
return this.selectStore?.getLoading();
|
|
256
256
|
},
|
|
257
257
|
selectStore() {
|
|
258
258
|
return componentConfig.selectStore.getStore(this.$props.config.useStore);
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div
|
|
3
|
+
class="table-skeleton-wrap"
|
|
4
|
+
:style="{ height: `calc(${height} - 50px)` }"
|
|
5
|
+
>
|
|
3
6
|
<baseSkeletonVue
|
|
7
|
+
:key="index"
|
|
4
8
|
:shape="`rect`"
|
|
5
|
-
|
|
9
|
+
v-for="index in row"
|
|
10
|
+
:lines="[3.3, 10, 10, 10, 10, 10, 10, 10, 10, 10, 6.6]"
|
|
6
11
|
></baseSkeletonVue>
|
|
7
12
|
</div>
|
|
8
13
|
</template>
|
|
@@ -14,6 +19,7 @@ export default {
|
|
|
14
19
|
return {};
|
|
15
20
|
},
|
|
16
21
|
props: {
|
|
22
|
+
row: {},
|
|
17
23
|
height: {
|
|
18
24
|
require: true,
|
|
19
25
|
},
|
|
@@ -29,5 +35,9 @@ export default {
|
|
|
29
35
|
.table-skeleton-wrap {
|
|
30
36
|
width: 100%;
|
|
31
37
|
height: auto;
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-flow: row nowrap;
|
|
40
|
+
align-items: flex-start;
|
|
41
|
+
justify-content: space-between;
|
|
32
42
|
}
|
|
33
43
|
</style>
|