@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/README.md
CHANGED
|
@@ -7469,10 +7469,11 @@ class FormApi_FormApi {
|
|
|
7469
7469
|
}
|
|
7470
7470
|
}
|
|
7471
7471
|
// 追加表单中没有的字段 2026年5月13日 20:39:24 用于处理字段脱敏
|
|
7472
|
-
if (this.srcData) {
|
|
7472
|
+
if (this.srcData && obj) {
|
|
7473
7473
|
for (const key in this.srcData) {
|
|
7474
|
+
// 把所有以Enc结尾的字段都追加到obj中,用于处理字段脱敏
|
|
7474
7475
|
// eslint-disable-next-line no-prototype-builtins
|
|
7475
|
-
if (
|
|
7476
|
+
if (key.endsWith("Enc") && !obj.hasOwnProperty(key)) {
|
|
7476
7477
|
obj[key] = this.srcData[key];
|
|
7477
7478
|
}
|
|
7478
7479
|
}
|