@yoooloo42/joker 1.0.125 → 1.0.126

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/dist/index.cjs.js CHANGED
@@ -43582,8 +43582,9 @@ const hdl = {
43582
43582
  popup.visible = true;
43583
43583
  },
43584
43584
  submit() {
43585
- // 这里不能使用JSON.parse(JSON.stringify()),否则会切断modelValue_box的响应性
43586
- Object.assign(modelValue_box, popup.formData);
43585
+ modelValue_box[props.myProps.thumb.fieldName] = popup.formData.thumb;
43586
+ modelValue_box[props.myProps.name.fieldName] = popup.formData.name;
43587
+ modelValue_box[props.myProps.number.fieldName] = popup.formData.number;
43587
43588
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
43588
43589
  emit("update:modelValue", modelValue_box);
43589
43590
  popup.visible = false;