mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:15:36 +00:00
fix(plugin-system-settings): convert array to json
This commit is contained in:
parent
6dacec4158
commit
73262aff50
@ -19,7 +19,7 @@ export default defineCollection({
|
||||
{
|
||||
type: 'boolean',
|
||||
name: 'smsAuthEnabled',
|
||||
defaultValue: false
|
||||
defaultValue: false,
|
||||
},
|
||||
{
|
||||
type: 'belongsTo',
|
||||
@ -27,8 +27,9 @@ export default defineCollection({
|
||||
target: 'attachments',
|
||||
},
|
||||
{
|
||||
type: 'array',
|
||||
type: 'json',
|
||||
name: 'enabledLanguages',
|
||||
defaultValue: [],
|
||||
},
|
||||
{
|
||||
type: 'string',
|
||||
@ -36,4 +37,3 @@ export default defineCollection({
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user