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

更新image示例

上级 19359274
......@@ -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
}
</script>
<style>
......
......@@ -81,16 +81,12 @@
}
}
}
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.
先完成此消息的编辑!
想要评论请 注册