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

(cherry picked from commit 73262aff5037603c1db1889ad34bf799218481ae)
This commit is contained in:
chenos 2022-09-19 21:10:36 +08:00
parent c47f501756
commit 7f51610a6f

View File

@ -19,7 +19,7 @@ export default defineCollection({
{ {
type: 'boolean', type: 'boolean',
name: 'smsAuthEnabled', name: 'smsAuthEnabled',
defaultValue: false defaultValue: false,
}, },
{ {
type: 'belongsTo', type: 'belongsTo',
@ -27,8 +27,9 @@ export default defineCollection({
target: 'attachments', target: 'attachments',
}, },
{ {
type: 'array', type: 'json',
name: 'enabledLanguages', name: 'enabledLanguages',
defaultValue: [],
}, },
{ {
type: 'string', type: 'string',
@ -36,4 +37,3 @@ export default defineCollection({
}, },
], ],
}); });