el-plus-crud 0.1.104 → 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 +14 -0
- package/dist/el-plus-crud.mjs +8 -5
- package/dist/el-plus-crud.umd.js +1 -1
- package/dist/style.css +1 -1
- package/example/App.vue +22 -1
- package/lib/components/el-plus-form/components/ElPlusFormCheckboxButton.vue +1 -1
- package/lib/components/el-plus-form/components/ElPlusFormTransfer.vue +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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
|
+
|
|
12
|
+
### [0.1.105](https://github.com/KDJack/el-plus-crud/compare/v0.1.104...v0.1.105) (2026-08-04)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **form:** 修复 ElPlusFormTransfer 关闭弹框报错与 el-checkbox 弃用告警 ([6c89683](https://github.com/KDJack/el-plus-crud/commit/6c896837f480bd833f0d8544a1ce888dd0874932))
|
|
18
|
+
|
|
5
19
|
### [0.1.104](https://github.com/KDJack/el-plus-crud/compare/v0.1.103...v0.1.104) (2026-08-04)
|
|
6
20
|
|
|
7
21
|
|
package/dist/el-plus-crud.mjs
CHANGED
|
@@ -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
|
-
|
|
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, ["
|
|
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-
|
|
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",
|
|
@@ -3214,7 +3214,10 @@ const ia = /* @__PURE__ */ _e(pi, [["__scopeId", "data-v-c7000e64"]]), yi = /* @
|
|
|
3214
3214
|
}), r = X(() => {
|
|
3215
3215
|
const s = l.desc.options;
|
|
3216
3216
|
return Array.isArray(s) ? s.map((i) => ({
|
|
3217
|
-
|
|
3217
|
+
...i,
|
|
3218
|
+
// 保留原字段,el-transfer 按 desc.props.key/label 读自定义字段名(如 employeeId/employeeName)
|
|
3219
|
+
key: i.key ?? i.value ?? i.v ?? i.label ?? i.l ?? i.text,
|
|
3220
|
+
// ponytail: 兜底到 label 类字段,确保 el-transfer 内部 checkbox 的 value 永不缺失,避免 label-as-value 弃用告警
|
|
3218
3221
|
label: i.label ?? i.l ?? i.text ?? i.value ?? i.key,
|
|
3219
3222
|
disabled: !!i.disabled
|
|
3220
3223
|
})) : [];
|
|
@@ -3242,7 +3245,7 @@ const ia = /* @__PURE__ */ _e(pi, [["__scopeId", "data-v-c7000e64"]]), yi = /* @
|
|
|
3242
3245
|
};
|
|
3243
3246
|
}
|
|
3244
3247
|
});
|
|
3245
|
-
const ra = /* @__PURE__ */ _e(mi, [["__scopeId", "data-v-
|
|
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 = {
|
|
3246
3249
|
key: 1,
|
|
3247
3250
|
class: "expand-placeholder"
|
|
3248
3251
|
}, bi = ["title"], Ii = {
|