meixioacomponent 0.2.77 → 0.2.80

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meixioacomponent",
3
- "version": "0.2.77",
3
+ "version": "0.2.80",
4
4
  "private": false,
5
5
  "author": "YuRi",
6
6
  "main": "lib/meixioacomponent.umd.min.js",
@@ -343,17 +343,14 @@ export default {
343
343
 
344
344
  confirmValue() {
345
345
  let value = {};
346
- let valueId = "";
347
- let valueStr = "";
346
+ let valueId = [];
348
347
  for (let i = 0; i < this.areaValue.length; i++) {
349
348
  const item = this.areaValue[i];
350
349
  const flag = i == this.areaValue.length - 1;
351
350
  value[`${areaConfig[i].value}`] = item.label;
352
- valueId += `${flag ? `${item.value}` : `${item.value}/`}`;
353
- valueStr += `${flag ? `${item.label}` : `${item.label}/`}`;
351
+ valueId.push(item.value);
354
352
  }
355
353
  value.idList = valueId;
356
- value.valueStr = valueStr;
357
354
  if (JSON.stringify(value) != "{}") {
358
355
  this.module = value;
359
356
  }
@@ -24,6 +24,7 @@
24
24
  :visible-arrow="false"
25
25
  >
26
26
  <span
27
+ class="infor-value_text"
27
28
  :style="{
28
29
  textAlign: valueAlign,
29
30
  }"
@@ -149,7 +150,7 @@ export default {
149
150
  box-sizing: border-box;
150
151
  padding: var(--padding-5) 0px;
151
152
  padding-left: var(--padding-5);
152
- span {
153
+ .infor-value_text {
153
154
  color: var(--font-color-d);
154
155
  font-size: var(--font-size-base);
155
156
  font-weight: var(--font-weight-g);
@@ -166,6 +167,7 @@ export default {
166
167
  text-overflow: ellipsis;
167
168
  }
168
169
  .line-infor-slot-wrap {
170
+ width: 100%;
169
171
  display: flex;
170
172
  flex-flow: row nowrap;
171
173
  }