fix(plugin-system-settings): convert array to json

This commit is contained in:
chenos 2022-09-19 21:10:36 +08:00
parent 6dacec4158
commit 73262aff50

View File

@ -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({
},
],
});