提交 b4d0716b 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新image示例

上级 19359274
......@@ -80,15 +80,11 @@
},
}
class ImageFormat {
format : string;
src : string;
constructor(format : string, src : string) {
this.format = format;
this.src = src;
}
type ImageFormat = {
format : string
src : string
}
</script>
<style>
......
......@@ -82,15 +82,11 @@
}
}
class ImageMode {
mode : string;
description : string;
constructor(mode : string, description : string) {
this.mode = mode;
this.description = description;
}
type ImageMode = {
mode : string
description : string
}
</script>
<style>
......
......@@ -84,15 +84,11 @@
},
}
class ImagePath {
src : string;
description : string;
constructor(src : string, description : string) {
this.src = src;
this.description = description;
}
type ImagePath = {
src : string
description : string
}
</script>
<style>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册