resolver-egretimp-plus 0.0.203 → 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/dist/h5/index.js +1 -1
- package/dist/web/index.js +1 -1
- package/package.json +1 -1
- package/src/analysisComponent.jsx +10 -3
package/package.json
CHANGED
|
@@ -70,12 +70,14 @@ export default {
|
|
|
70
70
|
const messageInstance = inject('_messageInstance')
|
|
71
71
|
const builtPolyfillReq = inject('_builtPolyfillReq')
|
|
72
72
|
const rootValue = inject('rootValue')
|
|
73
|
+
const validate = inject('_validate')
|
|
73
74
|
|
|
74
75
|
const selects = inject('selects')
|
|
75
76
|
|
|
76
77
|
definePrivatelyProp(props.config, '_rootValue', rootValue)
|
|
77
78
|
definePrivatelyProp(props.config, 'router', router)
|
|
78
79
|
definePrivatelyProp(props.config, 'route', route)
|
|
80
|
+
definePrivatelyProp(props.config, '_validate', validate)
|
|
79
81
|
// 当前组件的实例
|
|
80
82
|
const instance = getCurrentInstance()
|
|
81
83
|
const appContext = instance?.appContext
|
|
@@ -136,9 +138,14 @@ export default {
|
|
|
136
138
|
ruleExecuter.penddingRules[hireRelat] = null
|
|
137
139
|
}
|
|
138
140
|
if (props.config?.immediateClickEvent) {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
141
|
+
const unWatch = watch(dataLoad, (val) => {
|
|
142
|
+
if (val) {
|
|
143
|
+
setTimeout(() => {
|
|
144
|
+
executeClickEvents()
|
|
145
|
+
}, 0);
|
|
146
|
+
unWatch && unWatch()
|
|
147
|
+
}
|
|
148
|
+
})
|
|
142
149
|
}
|
|
143
150
|
// 使用json-rules-engine书写的规则,打开这边,需要对之前的规则进行注释,并且需要再index.js文件中进行开启 ====end====
|
|
144
151
|
}
|