Commit 498f739c29782b92b5a6c90a7628e6e2c44f2a1a
1 parent
5e69ab05
优化后道参数默认值;
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/QuickQuote/index.jsx
| @@ -235,7 +235,7 @@ const QuickQuoteEvent = props => { | @@ -235,7 +235,7 @@ const QuickQuoteEvent = props => { | ||
| 235 | sId: commonUtils.createSid(), | 235 | sId: commonUtils.createSid(), |
| 236 | value: sParamDefault, | 236 | value: sParamDefault, |
| 237 | sParam: sParam, | 237 | sParam: sParam, |
| 238 | - [`sParams${index}`]: sParamDefault, | 238 | + [`sParam${index + 1}`]: sParamDefault, |
| 239 | }; | 239 | }; |
| 240 | }) | 240 | }) |
| 241 | .filter(item => item !== ""); | 241 | .filter(item => item !== ""); |