mooho-base-admin-plus 2.10.83 → 2.10.84
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/history.md
CHANGED
|
@@ -30421,7 +30421,8 @@ const comboSelect = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_re
|
|
|
30421
30421
|
if (this.modelValue == null) {
|
|
30422
30422
|
this.selected = null, this.selectedData = null;
|
|
30423
30423
|
return;
|
|
30424
|
-
}
|
|
30424
|
+
}
|
|
30425
|
+
if (this.multi) {
|
|
30425
30426
|
if (!this.isJSON(this.modelValue)) {
|
|
30426
30427
|
this.selected = null, this.selectedData = null;
|
|
30427
30428
|
return;
|
|
@@ -30446,8 +30447,20 @@ const comboSelect = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_re
|
|
|
30446
30447
|
if (this.rawData && this.columnCode.endsWith("ID")) {
|
|
30447
30448
|
let r = this.parseData(this.rawData, this.columnCode.substring(0, this.columnCode.length - 2));
|
|
30448
30449
|
if (r != null) {
|
|
30449
|
-
|
|
30450
|
-
|
|
30450
|
+
let o;
|
|
30451
|
+
if (this.sourceDataCode == "id")
|
|
30452
|
+
o = this.sourceDisplayCode;
|
|
30453
|
+
else if (this.sourceDataCode.endsWith("ID")) {
|
|
30454
|
+
let s = this.sourceDataCode.substring(0, this.sourceDataCode.length - 2) + ".";
|
|
30455
|
+
this.sourceDisplayCode.startsWith(s) && (o = this.sourceDisplayCode.substring(s.length));
|
|
30456
|
+
}
|
|
30457
|
+
if (o) {
|
|
30458
|
+
let s = this.parseData(r, o);
|
|
30459
|
+
if (s) {
|
|
30460
|
+
this.selected = s;
|
|
30461
|
+
return;
|
|
30462
|
+
}
|
|
30463
|
+
}
|
|
30451
30464
|
}
|
|
30452
30465
|
}
|
|
30453
30466
|
let a = {
|