diff --git a/pages/component/image/image-format.uvue b/pages/component/image/image-format.uvue index d1b86989d85c9956f32df72c6dee5ebc205c02a1..39a950a35abc54a50c1b8c9743c1815c4f10be8e 100644 --- a/pages/component/image/image-format.uvue +++ b/pages/component/image/image-format.uvue @@ -79,16 +79,12 @@ } }, } - - class ImageFormat { - format : string; - src : string; - - constructor(format : string, src : string) { - this.format = format; - this.src = src; - } + + type ImageFormat = { + format : string + src : string } +