resolver-egretimp-plus 0.0.214 → 0.0.215
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 +2 -0
- package/src/index.jsx +7 -0
package/package.json
CHANGED
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}
|