未验证 提交 0fa9e4fd 编写于 作者: View Design's avatar View Design 提交者: GitHub

Merge pull request #86 from likuner/master

update image size unit
......@@ -157,8 +157,8 @@
},
imageStyles() {
return {
width: `${this.width}px`,
height: `${this.height}px`
width: typeof this.width === 'number' ? `${this.width}px` : this.width,
height: typeof this.height === 'number' ? `${this.height}px` : this.height
};
},
loadingLang() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册