resolver-egretimp-plus 0.0.207 → 0.0.208

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.207",
3
+ "version": "0.0.208",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -1,7 +1,7 @@
1
1
  import { resultToast } from "../../utils/respone"
2
2
 
3
- export async function executeLoadServices(services = [], { requestTraceId, businessIdentityReqData = {}, axiosInstance, messageInstance, reqData, respCb, notLoadCb }) {
4
- if (reqData?.notLoad) {
3
+ export async function executeLoadServices(services = [], { alongLoad, requestTraceId, businessIdentityReqData = {}, axiosInstance, messageInstance, reqData, respCb, notLoadCb }) {
4
+ if (!alongLoad && reqData?.notLoad) {
5
5
  notLoadCb && notLoadCb()
6
6
  return
7
7
  }
package/src/index.jsx CHANGED
@@ -169,12 +169,13 @@ export default {
169
169
  return props.dataLoad || nativeDataLoad.value
170
170
  })
171
171
  const { initPageConfig, pageConfigRef, mapCompRef, hireRelatMapRulesRef } = usePageConfig()
172
- function toExecuteLoadServices(clearFlag) {
172
+ function toExecuteLoadServices(clearFlag, alongLoad) {
173
173
  // 触发加载事件执行
174
174
  nativeDataLoad.value = false
175
175
  executeLoadServices(
176
176
  props.config?.pmPageServiceMapVOList || props.config?.lcpPageServiceMapVOList || [],
177
177
  {
178
+ alongLoad,
178
179
  requestTraceId: props.requestTraceId,
179
180
  messageInstance: toRef(props, 'messageInstance'),
180
181
  businessIdentityReqData: props.businessIdentityReqData,