Commit 3db373d2 authored by wuhao's avatar wuhao 🎯

asder

parent ae3d951b
...@@ -48,10 +48,14 @@ function reducer(state, action) { ...@@ -48,10 +48,14 @@ function reducer(state, action) {
} }
break; break;
case "cdetails": case "cdetails":
let n = 1,dataSource = action.dataSource;
let special = action?.dataSource?.customerCharList?.map?.(it => { let special = action?.dataSource?.customerCharList?.map?.(it => {
n++;
let key = n.toString();
dataSource[key] = it?.fieldRealValue;
return { return {
"title": it?.fieldName, "title": it?.fieldName,
"key": it?.fieldCharValue, "key": key,
} }
}) })
let extraspecial = [{ let extraspecial = [{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment