@cloudbase/weda-ui-mp 3.6.2 → 3.6.3

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.
@@ -332,6 +332,9 @@ export default Behavior({
332
332
  if (form) {
333
333
  // 在 form 里面
334
334
  this._removeFormItem = form.addFormItem(this.data.name, this.$widget);
335
+ if (!Object.prototype.hasOwnProperty.call(form?.value, newName)) {
336
+ form?.updateFormContext(this.data.name, this.data.value);
337
+ }
335
338
  }
336
339
  });
337
340
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "miniprogram": "./",
4
4
  "packageManager": "yarn@3.0.2",
5
5
  "dependencies": {},
6
- "version": "3.6.2",
6
+ "version": "3.6.3",
7
7
  "main": "./",
8
8
  "publishConfig": {
9
9
  "access": "public"