mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-18 11:23:39 +08:00
fix(editor): 新增数据源时,由于方法列表为空出现的报错
This commit is contained in:
parent
444858491d
commit
1e396d4a8d
@ -64,7 +64,7 @@ const methodColumns: ColumnConfig[] = [
|
||||
{
|
||||
label: '参数',
|
||||
prop: 'params',
|
||||
formatter: (params: CodeParamStatement[]) => params.map((item) => item.name).join(', '),
|
||||
formatter: (params: CodeParamStatement[] = []) => params.map((item) => item.name).join(', '),
|
||||
},
|
||||
{
|
||||
label: '操作',
|
||||
|
Loading…
x
Reference in New Issue
Block a user