docs(Lazyload): use composition api

This commit is contained in:
chenjiahan
2020-12-13 14:04:56 +08:00
parent 7537370343
commit af49575484
3 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ app.use(Lazyload, {
```js
export default {
data() {
setup() {
return {
imageList: [
'https://img.yzcdn.cn/vant/apple-1.jpg',