resolver-egretimp-plus 0.0.214 → 0.0.216
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 +2 -2
- package/dist/web/index.js +2 -2
- package/package.json +1 -1
- package/src/analysisComponent.jsx +3 -1
- package/src/index.jsx +7 -0
package/package.json
CHANGED
|
@@ -143,9 +143,11 @@ export default {
|
|
|
143
143
|
if (val) {
|
|
144
144
|
setTimeout(() => {
|
|
145
145
|
executeClickEvents()
|
|
146
|
+
unWatch && unWatch()
|
|
146
147
|
}, 0);
|
|
147
|
-
unWatch && unWatch()
|
|
148
148
|
}
|
|
149
|
+
}, {
|
|
150
|
+
immediate: true
|
|
149
151
|
})
|
|
150
152
|
}
|
|
151
153
|
// 使用json-rules-engine书写的规则,打开这边,需要对之前的规则进行注释,并且需要再index.js文件中进行开启 ====end====
|
package/src/index.jsx
CHANGED
|
@@ -100,6 +100,10 @@ export default {
|
|
|
100
100
|
type: Object,
|
|
101
101
|
default: () => ({})
|
|
102
102
|
},
|
|
103
|
+
loadEventsAfter: {
|
|
104
|
+
type: Function,
|
|
105
|
+
default: null
|
|
106
|
+
},
|
|
103
107
|
// 在弹框里面的页面,通过弹窗传染的请求数据
|
|
104
108
|
dialogReq: {
|
|
105
109
|
type: Object,
|
|
@@ -187,6 +191,9 @@ export default {
|
|
|
187
191
|
respCb: (result) => {
|
|
188
192
|
nativeDataLoad.value = true
|
|
189
193
|
let val = result
|
|
194
|
+
if (props.loadEventsAfter && typeof props.loadEventsAfter === 'function') {
|
|
195
|
+
val = props.loadEventsAfter(val)
|
|
196
|
+
}
|
|
190
197
|
if (!clearFlag) {
|
|
191
198
|
val = deepMerge(props.modelValue, result, 'replace')
|
|
192
199
|
val = {...val}
|