resolver-egretimp-plus 0.0.159 → 0.0.160

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.159",
3
+ "version": "0.0.160",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -92,6 +92,17 @@ export default {
92
92
  if (isPagePopup.value && isOnlyIconClickFlag.value) {
93
93
  delete ret.onClick
94
94
  }
95
+ if (ret.onWrapClick) {
96
+ if (ret.onClick) {
97
+ const originClick = ret.onClick
98
+ ret.onClick = function(...arg) {
99
+ originClick(...arg)
100
+ ret.onWrapClick(...arg)
101
+ }
102
+ } else {
103
+ ret.onClick = ret.onWrapClick
104
+ }
105
+ }
95
106
  return ret
96
107
  })
97
108