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
@@ -254,3 +254,4 @@ mooho-base-admin-plus@2.10.80 - Excel表格支持可筛选选择框
254
254
  mooho-base-admin-plus@2.10.81 - 优化弹出选择控件
255
255
  mooho-base-admin-plus@2.10.82 - 优化弹出选择控件
256
256
  mooho-base-admin-plus@2.10.83 - 修复上一版本的bug
257
+ mooho-base-admin-plus@2.10.84 - 修复上一版本的bug
@@ -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
- } else if (this.multi) {
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
- this.selected = this.parseData(r, this.sourceDisplayCode), this.selectedData = r;
30450
- return;
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 = {