Commit 37aa5e39600634bb1c57a4eb67edc3d0f6c811cf
1 parent
5a12dae8
feat: mock data for topic panel on product detail
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | ... | @@ -35,7 +35,7 @@ |
| 35 | 35 | |
| 36 | 36 | async function getFormData() { |
| 37 | 37 | const _values = (await validate()) as StructFormValue; |
| 38 | - const { functionName, remark, identifier, outputData: _outputData, eventType } = _values; | |
| 38 | + const { functionName, remark, identifier, outputData: _outputData = [], eventType } = _values; | |
| 39 | 39 | if (!_values) return {} as unknown as ModelOfMatterParams; |
| 40 | 40 | |
| 41 | 41 | const outputData = (_outputData as unknown as StructJSON[]).map((item) => | ... | ... |