resolver-egretimp-plus 0.0.294 → 0.0.295

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.294",
3
+ "version": "0.0.295",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -110,7 +110,7 @@ export default {
110
110
  suffixIcon = resolveComponent(suffixIcon)
111
111
  }
112
112
  return (
113
- <ElIcon {...{...iconProps}}>
113
+ <ElIcon {...iconProps}>
114
114
  <suffixIcon></suffixIcon>
115
115
  </ElIcon>
116
116
  )
@@ -132,14 +132,17 @@ export default {
132
132
  return node
133
133
  }
134
134
  }
135
+ function getSlots() {
136
+ return {
137
+ default: () => labelDesc.value,
138
+ ...slots,
139
+ }
140
+ }
135
141
  return () => {
136
142
  return getWrap(
137
143
  <ElText {...{...attrs, ...elTextProps.value}} onClickCapture={withModifiers((e) => {clickAction(e)}, [ 'stop', 'self' ])} class={{cursor: props.isPointer == '1'}}>
138
144
  {
139
- {
140
- default: () => labelDesc.value,
141
- ...slots,
142
- }
145
+ getSlots()
143
146
  }
144
147
  </ElText>
145
148
  )