@yoooloo42/joker 1.0.33 → 1.0.35

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
@@ -39346,7 +39346,7 @@ const input = vue.reactive({
39346
39346
  return props.item.placeholder ? props.item.placeholder : props.myProps.placeholder.input
39347
39347
  }),
39348
39348
  showPassword: vue.computed(()=>{
39349
- return !!this.item.showPassword
39349
+ return !!props.item.showPassword
39350
39350
  }),
39351
39351
  hdlCannotInput: event => { // 解决偶发不能输入的问题
39352
39352
  props.dataBox.fieldsValue[props.item.fieldName] = event.target.value;
@@ -39429,8 +39429,8 @@ const image = vue.reactive({
39429
39429
  ) {
39430
39430
  return ''
39431
39431
  }
39432
- if (props.dataBox.fieldsValue[this.item.fieldName]) {
39433
- return props.dataBox.fieldsValue[this.item.fieldName]
39432
+ if (props.dataBox.fieldsValue[props.item.fieldName]) {
39433
+ return props.dataBox.fieldsValue[props.item.fieldName]
39434
39434
  }
39435
39435
  return ''
39436
39436
  }),
@@ -39471,7 +39471,7 @@ const images = vue.reactive({
39471
39471
  } else {
39472
39472
  props.dataBox.fieldsValue[props.item.fieldName]
39473
39473
  .filter(i => {
39474
- return !this.dataBox.fieldsValue[this.item.imageDelete].includes(i)
39474
+ return !props.dataBox.fieldsValue[props.item.imageDelete].includes(i)
39475
39475
  })
39476
39476
  .forEach(i => {
39477
39477
  result.push(i);
@@ -39584,9 +39584,9 @@ const upload = vue.reactive({
39584
39584
  hdl_carplate: result => {
39585
39585
  // 获取车牌识别结果
39586
39586
  // eslint-disable-next-line
39587
- this.dataBox.fieldsValue[this.item.fieldName] = result.src ? result.src : '';
39587
+ props.dataBox.fieldsValue[props.item.fieldName] = result.src ? result.src : '';
39588
39588
  // eslint-disable-next-line
39589
- this.dataBox.fieldsValue[this.item.carplate] =
39589
+ props.dataBox.fieldsValue[props.item.carplate] =
39590
39590
  result.result && result.result.txt ? result.result.txt : '';
39591
39591
  }
39592
39592
  }