@yoooloo42/joker 1.0.223 → 1.0.225

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.esm.js CHANGED
@@ -23435,7 +23435,8 @@ var script$j = {
23435
23435
  default: () => ({})
23436
23436
  }
23437
23437
  },
23438
- setup(__props) {
23438
+ emits: ['update:modelValue', 'change'],
23439
+ setup(__props, { emit: __emit }) {
23439
23440
 
23440
23441
  const props = __props;
23441
23442
 
@@ -23445,12 +23446,24 @@ const formProps_box = props.myProps;
23445
23446
  const scopeThis_box = props.scopeThis;
23446
23447
  const propsItem_box = props.item;
23447
23448
 
23448
- watch(()=>formData_box[propsItem_box.fieldName], (newVal, oldVal) => {
23449
- console.log('测试 000', newVal);
23450
- });
23451
- watch(()=>props.myProps[propsItem_box.fieldName], (newVal, oldVal) => {
23452
- console.log('测试 111', newVal);
23453
- });
23449
+ watch(
23450
+ ()=>formData_box[propsItem_box.fieldName],
23451
+ (newVal, oldVal) => {
23452
+ console.log('测试 000', newVal);
23453
+ },
23454
+ {
23455
+ deep: true, // 深层监听
23456
+ }
23457
+ );
23458
+ watch(
23459
+ ()=>props.myProps[propsItem_box.fieldName],
23460
+ (newVal, oldVal) => {
23461
+ console.log('测试 111', newVal);
23462
+ },
23463
+ {
23464
+ deep: true, // 深层监听
23465
+ }
23466
+ );
23454
23467
 
23455
23468
  const input = reactive({
23456
23469
  placeholder: propsItem_box.placeholder || formProps_box.para.placeholder.input,