el-plus-crud 0.1.105 → 0.1.106

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.106](https://github.com/KDJack/el-plus-crud/compare/v0.1.105...v0.1.106) (2026-08-04)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **form:** transfer 保留原始字段以兼容自定义 key/label 字段名 ([ec0f1df](https://github.com/KDJack/el-plus-crud/commit/ec0f1dfcf5bf4e42580951d99c57621902a86abc))
11
+
5
12
  ### [0.1.105](https://github.com/KDJack/el-plus-crud/compare/v0.1.104...v0.1.105) (2026-08-04)
6
13
 
7
14
 
@@ -1080,20 +1080,20 @@ const En = /* @__PURE__ */ _e(Ms, [["__scopeId", "data-v-0320ab23"]]), fs = /* @
1080
1080
  default: x(() => [
1081
1081
  (d(!0), Y(se, null, Ne(e.desc.options, (g) => (d(), O(i, te({
1082
1082
  key: g.value,
1083
- label: g.value
1083
+ value: g.value
1084
1084
  }, { ref_for: !0 }, g.attrs), {
1085
1085
  default: x(() => [
1086
1086
  ye(fe(g.text), 1)
1087
1087
  ]),
1088
1088
  _: 2
1089
- }, 1040, ["label"]))), 128))
1089
+ }, 1040, ["value"]))), 128))
1090
1090
  ]),
1091
1091
  _: 1
1092
1092
  }, 16, ["disabled", "modelValue"])) : U("", !0);
1093
1093
  };
1094
1094
  }
1095
1095
  });
1096
- const On = /* @__PURE__ */ _e(Ns, [["__scopeId", "data-v-55c42eca"]]), js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: On }, Symbol.toStringTag, { value: "Module" })), ps = {
1096
+ const On = /* @__PURE__ */ _e(Ns, [["__scopeId", "data-v-4dc6128e"]]), js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: On }, Symbol.toStringTag, { value: "Module" })), ps = {
1097
1097
  name: "ElPlusFormColor",
1098
1098
  inheritAttrs: !1,
1099
1099
  typeName: "color",
@@ -3216,7 +3216,8 @@ const ia = /* @__PURE__ */ _e(pi, [["__scopeId", "data-v-c7000e64"]]), yi = /* @
3216
3216
  return Array.isArray(s) ? s.map((i) => ({
3217
3217
  ...i,
3218
3218
  // 保留原字段,el-transfer 按 desc.props.key/label 读自定义字段名(如 employeeId/employeeName)
3219
- key: i.key ?? i.value ?? i.v,
3219
+ key: i.key ?? i.value ?? i.v ?? i.label ?? i.l ?? i.text,
3220
+ // ponytail: 兜底到 label 类字段,确保 el-transfer 内部 checkbox 的 value 永不缺失,避免 label-as-value 弃用告警
3220
3221
  label: i.label ?? i.l ?? i.text ?? i.value ?? i.key,
3221
3222
  disabled: !!i.disabled
3222
3223
  })) : [];
@@ -3244,7 +3245,7 @@ const ia = /* @__PURE__ */ _e(pi, [["__scopeId", "data-v-c7000e64"]]), yi = /* @
3244
3245
  };
3245
3246
  }
3246
3247
  });
3247
- const ra = /* @__PURE__ */ _e(mi, [["__scopeId", "data-v-72c12490"]]), vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: ra }, Symbol.toStringTag, { value: "Module" })), Di = { class: "custom-tree-node-list" }, Yi = ["onClick"], wi = {
3248
+ const ra = /* @__PURE__ */ _e(mi, [["__scopeId", "data-v-3991c65d"]]), vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: ra }, Symbol.toStringTag, { value: "Module" })), Di = { class: "custom-tree-node-list" }, Yi = ["onClick"], wi = {
3248
3249
  key: 1,
3249
3250
  class: "expand-placeholder"
3250
3251
  }, bi = ["title"], Ii = {