@yoooloo42/joker 1.0.31 → 1.0.33

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
@@ -39342,10 +39342,10 @@ var script$f = {
39342
39342
  const props = __props;
39343
39343
 
39344
39344
  const input = vue.reactive({
39345
- placeholder: vue.computed(() => () => {
39345
+ placeholder: vue.computed(() => {
39346
39346
  return props.item.placeholder ? props.item.placeholder : props.myProps.placeholder.input
39347
39347
  }),
39348
- showPassword: vue.computed(()=>()=>{
39348
+ showPassword: vue.computed(()=>{
39349
39349
  return !!this.item.showPassword
39350
39350
  }),
39351
39351
  hdlCannotInput: event => { // 解决偶发不能输入的问题
@@ -39354,10 +39354,10 @@ const input = vue.reactive({
39354
39354
  });
39355
39355
 
39356
39356
  const select = vue.reactive({
39357
- placeholder: vue.computed(() => () => {
39357
+ placeholder: vue.computed(() => {
39358
39358
  return props.item.placeholder ? props.item.placeholder : props.myProps.placeholder.select
39359
39359
  }),
39360
- items: vue.computed(()=>()=>{
39360
+ items: vue.computed(()=>{
39361
39361
  if (props.item.items) {
39362
39362
  return props.item.items
39363
39363
  } else if (props.item.hdlGetItems) {
@@ -39372,19 +39372,19 @@ const select = vue.reactive({
39372
39372
  });
39373
39373
 
39374
39374
  const datePicker = vue.reactive({
39375
- placeholder: vue.computed(()=> () => {
39375
+ placeholder: vue.computed(()=> {
39376
39376
  if (props.item.placeholder) {
39377
39377
  return props.item.placeholder
39378
39378
  }
39379
39379
  if (props.item.type === 'datetime') {
39380
39380
  return props.myProps.placeholder.datetime
39381
39381
  }
39382
- if (this.item.type === 'date') {
39382
+ if (props.item.type === 'date') {
39383
39383
  return props.myProps.placeholder.date
39384
39384
  }
39385
39385
  return props.myProps.placeholder.datetime
39386
39386
  }),
39387
- format: vue.computed(() => () => {
39387
+ format: vue.computed(() => {
39388
39388
  if (props.item.format) {
39389
39389
  return props.item.format
39390
39390
  }
@@ -39420,7 +39420,7 @@ const radioGroup = vue.reactive({
39420
39420
  });
39421
39421
 
39422
39422
  const image = vue.reactive({
39423
- getSrc: vue.computed(() => () => {
39423
+ getSrc: vue.computed(() => {
39424
39424
  if (
39425
39425
  props.item.imageDelete &&
39426
39426
  props.dataBox.fieldsValue[props.item.imageDelete] &&
@@ -39462,7 +39462,7 @@ const images = vue.reactive({
39462
39462
  return i !== itemImages
39463
39463
  });
39464
39464
  },
39465
- show: vue.computed(()=>()=>{
39465
+ show: vue.computed(()=>{
39466
39466
  let result = [];
39467
39467
  if (!props.item.imageDelete) {
39468
39468
  props.dataBox.fieldsValue[props.item.fieldName].forEach(i => {
@@ -39482,7 +39482,7 @@ const images = vue.reactive({
39482
39482
  });
39483
39483
 
39484
39484
  const richtext = vue.reactive({
39485
- options: vue.computed(()=>()=>{
39485
+ options: vue.computed(()=>{
39486
39486
  return {
39487
39487
  action: props.dataBox.upload, // 必填参数 图片上传地址
39488
39488
  methods: 'post', // 必填参数 图片上传方式
@@ -39495,7 +39495,7 @@ const richtext = vue.reactive({
39495
39495
  });
39496
39496
 
39497
39497
  const video = vue.reactive({
39498
- src: vue.computed(()=>()=>{
39498
+ src: vue.computed(()=>{
39499
39499
  if (
39500
39500
  props.item.videoDelete &&
39501
39501
  props.dataBox.fieldsValue[props.item.videoDelete] &&
@@ -39509,7 +39509,7 @@ const video = vue.reactive({
39509
39509
  }
39510
39510
  return ''
39511
39511
  }),
39512
- poster: vue.computed(()=>()=>{
39512
+ poster: vue.computed(()=>{
39513
39513
  if (
39514
39514
  props.item.videoDelete &&
39515
39515
  props.dataBox.fieldsValue[props.item.videoDelete] &&
@@ -39530,13 +39530,13 @@ const video = vue.reactive({
39530
39530
  });
39531
39531
 
39532
39532
  const download = vue.reactive({
39533
- fileName: vue.computed(() => () => {
39533
+ fileName: vue.computed(() => {
39534
39534
  if (props.item.downloadFileName) {
39535
39535
  return props.item.downloadFileName
39536
39536
  }
39537
39537
  return props.myProps.download.fileName
39538
39538
  }),
39539
- downloadLabel: vue.computed(() => () => {
39539
+ downloadLabel: vue.computed(() => {
39540
39540
  if (!props.dataBox.fieldsValue[props.item.fieldName]) {
39541
39541
  return props.myProps.download.downloadLabelNoSrc
39542
39542
  }
@@ -39545,7 +39545,7 @@ const download = vue.reactive({
39545
39545
  }
39546
39546
  return props.myProps.download.downloadLabel
39547
39547
  }),
39548
- downloadSrc: vue.computed(() => () => {
39548
+ downloadSrc: vue.computed(() => {
39549
39549
  if (props.dataBox.fieldsValue[props.item.fieldName]) {
39550
39550
  return props.dataBox.fieldsValue[props.item.fieldName]
39551
39551
  }