resolver-egretimp-plus 0.1.9 → 0.1.10
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
|
@@ -2,7 +2,7 @@ import { isArray, isHasVal, isNull, isUndefined } from "../../utils/is"
|
|
|
2
2
|
import { DATA_VALID_RULE_EXECUTE } from "../../api/builtIn"
|
|
3
3
|
import { getRelateConfigKeys } from "../../rules/ruleUtils"
|
|
4
4
|
import { RESULT_CODE, resultToast } from "../../utils/respone"
|
|
5
|
-
import { isPromise, parseExtendAttr, unionWith } from "../../utils/index"
|
|
5
|
+
import { isPromise, modelValueDeepMerge, parseExtendAttr, unionWith } from "../../utils/index"
|
|
6
6
|
import { buildInRequest } from "../../utils/request"
|
|
7
7
|
|
|
8
8
|
function getPathVal(obj = {}, path) {
|
|
@@ -119,10 +119,8 @@ export async function dispatchClickEvent(service, {
|
|
|
119
119
|
reqResult = {
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
...reqData
|
|
125
|
-
}
|
|
122
|
+
const mergeObj = modelValueDeepMerge(reqResult, reqData)
|
|
123
|
+
reqResult = mergeObj
|
|
126
124
|
|
|
127
125
|
let beforeRequestServiceRet = true
|
|
128
126
|
if (normalBeforeRequestService) {
|