This commit is contained in:
cookfront
2017-04-01 17:18:32 +08:00
parent 5580e2cdce
commit 9075f7df3e
8 changed files with 217 additions and 45 deletions
+1 -6
View File
@@ -31,15 +31,10 @@ export default {
### 使用指南
`ImagePreview`和其他组件不同,不是通过HTML结构的方式来使用,而是通过函数调用的方式。使用前需要先引入它,它接受一个数组作为参数,数组中的每一项对应了图片链接
`ImagePreview`和其他组件不同,不是通过HTML结构的方式来使用,而是通过函数调用的方式。使用前需要先引入它。
```js
import { ImagePreview } from '@youzan/zanui-vue';
ImagePreview([
imageUrl1,
imageUrl2
]);
```
### 代码演示