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