@dhccmobile/vue3-lo-form 2.1.1 → 2.1.2
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/README.md +2 -0
- package/dist/vue3-lo-form.common.js +3 -2
- package/dist/vue3-lo-form.common.js.map +1 -1
- package/dist/vue3-lo-form.umd.js +3 -2
- package/dist/vue3-lo-form.umd.js.map +1 -1
- package/dist/vue3-lo-form.umd.min.js +1 -1
- package/dist/vue3-lo-form.umd.min.js.map +1 -1
- package/package.json +3 -2
- package/src/core/FormApi.ts +3 -2
- package/src/main.ts +2 -3
package/dist/vue3-lo-form.umd.js
CHANGED
|
@@ -7478,10 +7478,11 @@ class FormApi_FormApi {
|
|
|
7478
7478
|
}
|
|
7479
7479
|
}
|
|
7480
7480
|
// 追加表单中没有的字段 2026年5月13日 20:39:24 用于处理字段脱敏
|
|
7481
|
-
if (this.srcData) {
|
|
7481
|
+
if (this.srcData && obj) {
|
|
7482
7482
|
for (const key in this.srcData) {
|
|
7483
|
+
// 把所有以Enc结尾的字段都追加到obj中,用于处理字段脱敏
|
|
7483
7484
|
// eslint-disable-next-line no-prototype-builtins
|
|
7484
|
-
if (
|
|
7485
|
+
if (key.endsWith("Enc") && !obj.hasOwnProperty(key)) {
|
|
7485
7486
|
obj[key] = this.srcData[key];
|
|
7486
7487
|
}
|
|
7487
7488
|
}
|