mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(editor): 新增数据源字段受上一次新增数据影响
This commit is contained in:
parent
cd50d36394
commit
f9ba8b8df5
@ -14,7 +14,7 @@ const fillConfig = (config: FormConfig): FormConfig => [
|
||||
{
|
||||
name: 'fields',
|
||||
type: 'data-source-fields',
|
||||
defaultValue: [],
|
||||
defaultValue: () => [],
|
||||
},
|
||||
],
|
||||
},
|
||||
@ -25,7 +25,7 @@ const fillConfig = (config: FormConfig): FormConfig => [
|
||||
{
|
||||
name: 'methods',
|
||||
type: 'data-source-methods',
|
||||
defaultValue: [],
|
||||
defaultValue: () => [],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user