mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
fix attribute name
This commit is contained in:
@@ -26,8 +26,9 @@ export const Config: TemplateConfig<ConfigType> = {
|
||||
name: '封面',
|
||||
type: 'image',
|
||||
imageLimit: 1,
|
||||
key: 'cover',
|
||||
onUploaded: (url, config) => {
|
||||
config.cover = url instanceof String ? (url as string) : url[0]
|
||||
config.cover = url[0]
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user