[Doc] update code style (#484)

This commit is contained in:
neverland
2017-12-26 12:39:52 +08:00
committed by GitHub
parent 508cdfc0c9
commit 6b563b2e5a
68 changed files with 431 additions and 431 deletions
+3 -3
View File
@@ -17,7 +17,7 @@ Vue.use(Lazyload, options);
`v-lazy`指令的值设置为你需要懒加载的图片
```html
<img v-for="img in imageList" v-lazy="img">
<img v-for="img in imageList" v-lazy="img" >
```
```javascript
@@ -47,7 +47,7 @@ export default {
```html
<lazy-component>
<img v-for="img in imageList" v-lazy="img">
<img v-for="img in imageList" v-lazy="img" >
</lazy-component>
```
@@ -64,4 +64,4 @@ export default {
| filter | 图片url过滤 | `Object` | - | - |
| lazyComponent | 是否能懒加载模块 | `Boolean` | `false` | - |
更多内容请参照:[ vue-lazyload 官方文档](https://github.com/hilongjw/vue-lazyload)
更多内容请参照:[vue-lazyload 官方文档](https://github.com/hilongjw/vue-lazyload)