resolver-egretimp-plus 0.0.129 → 0.0.130

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolver-egretimp-plus",
3
- "version": "0.0.129",
3
+ "version": "0.0.130",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -81,7 +81,7 @@ function selectFormat(value) {
81
81
  valList = valList ? (valList?.split(',') || []) : []
82
82
  }
83
83
  return valList?.reduce((ret, val) => {
84
- const str = props?.options?.find(item => item.columnValue == val)?.[lang?.value?.indexOf('zh') > -1 ? 'columnDesc_zh' : 'columnDesc']
84
+ const str = props?.options?.find(item => item.columnValue == val)?.[lang?.value?.indexOf('zh') > -1 ? 'columnDesc_zh' : 'columnDesc'] || ''
85
85
  return `${ret}${ret ? ',' : ''}${str}`
86
86
  }, '')
87
87
  }
@@ -78,10 +78,17 @@ export default {
78
78
  }
79
79
  return ret
80
80
  })
81
+ const inputWrapAttrs = computed(() => {
82
+ return {
83
+ class: attrs?.class,
84
+ style: attrs?.style
85
+ }
86
+ })
81
87
  const normalAttrs = computed(() => {
82
88
  const ret = {
83
89
  ...attrs
84
90
  }
91
+ delete ret.class
85
92
  if (isPagePopup.value && isOnlyIconClickFlag.value) {
86
93
  delete ret.onClick
87
94
  }
@@ -162,7 +169,7 @@ export default {
162
169
  }
163
170
  return () => {
164
171
  return (
165
- <div class="input-contrainer">
172
+ <div class="input-contrainer" {...inputWrapAttrs.value}>
166
173
  <span ref={(e) => calcSpanRef.value = e} class="calc-span">{ modelValue.value }</span>
167
174
  {
168
175
  polyfillInputWrap(