resolver-egretimp-plus 0.0.204 → 0.0.205

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.204",
3
+ "version": "0.0.205",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -138,9 +138,14 @@ export default {
138
138
  ruleExecuter.penddingRules[hireRelat] = null
139
139
  }
140
140
  if (props.config?.immediateClickEvent) {
141
- setTimeout(() => {
142
- executeClickEvents()
143
- }, 0);
141
+ const unWatch = watch(dataLoad, (val) => {
142
+ if (val) {
143
+ setTimeout(() => {
144
+ executeClickEvents()
145
+ }, 0);
146
+ unWatch && unWatch()
147
+ }
148
+ })
144
149
  }
145
150
  // 使用json-rules-engine书写的规则,打开这边,需要对之前的规则进行注释,并且需要再index.js文件中进行开启 ====end====
146
151
  }