resolver-egretimp-plus 0.0.128 → 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
|
@@ -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,12 +169,11 @@ 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(
|
|
169
176
|
<div v-else class="input-wrap" ref={(e) => inputWrapRef.value = e}>
|
|
170
|
-
maxlength: {normalInputProps.maxlength}
|
|
171
177
|
<ElInput {...vmodelProps.value} {...{...normalAttrs.value, ...normalInputProps.value}}>
|
|
172
178
|
{
|
|
173
179
|
getInputSolts()
|