Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
19 lines
523 B
JavaScript
19 lines
523 B
JavaScript
// Module ID: 1496
|
|
// Function ID: 1497
|
|
// Dependencies: []
|
|
// Exports: createParamsFromAction
|
|
|
|
// Module 1496
|
|
|
|
export const createParamsFromAction = function createParamsFromAction(routeParamList) {
|
|
routeParamList = routeParamList.routeParamList;
|
|
({ name, params } = routeParamList.action.payload);
|
|
let tmp = params;
|
|
if (undefined !== routeParamList[name]) {
|
|
const obj = {};
|
|
const merged = Object.assign(routeParamList[name]);
|
|
const merged1 = Object.assign(params);
|
|
tmp = obj;
|
|
}
|
|
return tmp;
|
|
};
|