meixioacomponent 0.2.73 → 0.2.76

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.
@@ -3961,7 +3961,7 @@
3961
3961
  .el-menu-item:focus,
3962
3962
  .el-menu-item:hover {
3963
3963
  outline: 0;
3964
- background-color: var(--hover-gray);
3964
+ background-color: var(--color-gray-d);
3965
3965
  }
3966
3966
  .el-menu-item.is-disabled {
3967
3967
  opacity: 0.25;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meixioacomponent",
3
- "version": "0.2.73",
3
+ "version": "0.2.76",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -273,7 +273,11 @@ export default {
273
273
  checkProvince(province) {
274
274
  this.activeIndex = 0;
275
275
  this.areaValue = [];
276
- this.$set(this.areaValue, 0, { label: province.label, pre: null });
276
+ this.$set(this.areaValue, 0, {
277
+ label: province.label,
278
+ pre: null,
279
+ value: province.value,
280
+ });
277
281
 
278
282
  if (province.children.length > 0) {
279
283
  this.activeObj = province;
@@ -287,11 +291,13 @@ export default {
287
291
  this.isReview = true;
288
292
  return;
289
293
  }
294
+
290
295
  let pre = this.areaValue[this.activeIndex];
291
296
  if (!pre) {
292
297
  this.$set(this.areaValue, this.activeIndex, {
293
298
  label: area.label,
294
299
  pre: this.activeObj,
300
+ value: area.value,
295
301
  });
296
302
  } else {
297
303
  pre.label = area.label;
@@ -337,10 +343,13 @@ export default {
337
343
 
338
344
  confirmValue() {
339
345
  let value = {};
346
+ let valueId = [];
340
347
  for (let i = 0; i < this.areaValue.length; i++) {
341
- value[`${areaConfig[i].value}`] = this.areaValue[i].label;
348
+ const item = this.areaValue[i];
349
+ value[`${areaConfig[i].value}`] = item.label;
350
+ valueId.push(item.value);
342
351
  }
343
-
352
+ value.idList = valueId;
344
353
  if (JSON.stringify(value) != "{}") {
345
354
  this.module = value;
346
355
  }
@@ -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% - var(--margin-4))` };
192
+ return { height: `calc(100%)` };
193
193
  }
194
194
  },
195
195
  handleStyle() {
@@ -216,7 +216,6 @@ export default {
216
216
  height: 100%;
217
217
  overflow-y: auto;
218
218
  box-sizing: border-box;
219
- padding: var(--padding-5) calc(var(--padding-5) * 2);
220
219
 
221
220
  .drawer-content-title {
222
221
  width: 100%;
@@ -234,7 +233,6 @@ export default {
234
233
  width: 100%;
235
234
  overflow-y: auto;
236
235
  position: relative;
237
- margin-top: var(--margin-4);
238
236
  }
239
237
  }
240
238
 
@@ -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.getLoading();
255
+ return this.selectStore?.getLoading();
256
256
  },
257
257
  selectStore() {
258
258
  return componentConfig.selectStore.getStore(this.$props.config.useStore);
@@ -3961,7 +3961,7 @@
3961
3961
  .el-menu-item:focus,
3962
3962
  .el-menu-item:hover {
3963
3963
  outline: 0;
3964
- background-color: var(--hover-gray);
3964
+ background-color: var(--color-gray-d);
3965
3965
  }
3966
3966
  .el-menu-item.is-disabled {
3967
3967
  opacity: 0.25;