resolver-egretimp-plus 0.0.131 → 0.0.132

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.131",
3
+ "version": "0.0.132",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -47,6 +47,8 @@ export async function dispatchClickEvents ({serviceList = [], requestTraceId, a
47
47
  export async function dispatchClickEvent(service, { dynamicMapComp, requestTraceId, dialogReq, mixinServiceConfig, rootValue, dynamicMapCompKeys, dynamicHireRelat, axiosInstance, messageCb, compConfig, messageInstance, lang, beforeRequestService, afterRequestService }) {
48
48
  let reqData = rootValue || {}
49
49
  let tableConfig = null
50
+ const serviceCustomProps = parseExtendAttr({extendAttr: service.extendAttr})
51
+
50
52
  if (service.transactionType == '1') {
51
53
  reqData = getReqData(service.inParamMappingList || [], {dynamicMapComp, dynamicMapCompKeys, dynamicHireRelat})
52
54
  tableConfig = getTableConfig(service.outParamMappingList, { dynamicMapComp, dynamicMapCompKeys, dynamicHireRelat })
@@ -106,8 +108,8 @@ export async function dispatchClickEvent(service, { dynamicMapComp, requestTrace
106
108
  }
107
109
  const ret = await (axiosInstance && axiosInstance(reqConfig))
108
110
  afterRequestService && afterRequestService(ret)
109
-
110
- if (!resultToast(ret?.data, messageInstance, {messageCb, service, compConfig, noSuccessIip: httpMethod.toLocaleLowerCase() === 'get' || service.transactionType == '1'})) {
111
+ const noSuccessIip = httpMethod.toLocaleLowerCase() === 'get' || service.transactionType == '1' || serviceCustomProps?.noSuccessIip
112
+ if (!resultToast(ret?.data, messageInstance, {messageCb, service, compConfig, noSuccessIip})) {
111
113
  await Promise.reject()
112
114
  return
113
115
  }