meixioacomponent 0.2.76 → 0.2.77
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
|
@@ -343,13 +343,17 @@ export default {
|
|
|
343
343
|
|
|
344
344
|
confirmValue() {
|
|
345
345
|
let value = {};
|
|
346
|
-
let valueId =
|
|
346
|
+
let valueId = "";
|
|
347
|
+
let valueStr = "";
|
|
347
348
|
for (let i = 0; i < this.areaValue.length; i++) {
|
|
348
349
|
const item = this.areaValue[i];
|
|
350
|
+
const flag = i == this.areaValue.length - 1;
|
|
349
351
|
value[`${areaConfig[i].value}`] = item.label;
|
|
350
|
-
valueId.
|
|
352
|
+
valueId += `${flag ? `${item.value}` : `${item.value}/`}`;
|
|
353
|
+
valueStr += `${flag ? `${item.label}` : `${item.label}/`}`;
|
|
351
354
|
}
|
|
352
355
|
value.idList = valueId;
|
|
356
|
+
value.valueStr = valueStr;
|
|
353
357
|
if (JSON.stringify(value) != "{}") {
|
|
354
358
|
this.module = value;
|
|
355
359
|
}
|