Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dingshaohua-com authored Nov 30, 2021
1 parent 971b801 commit e74ec85
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
# vue3-infinite-scroll-good
## 简介
vue-infinite-scroll的vue3版本
所有用法和`vue-infinite-scroll`一致。
其代码也是基于它做了简单修改,并修复了一些bug,比如无限加载或者下来会请求两次等问题。
## 简介 (introduce)
vue-infinite-scroll的vue3版本,所有用法和`vue-infinite-scroll`一致。
vue3 version of vue-infinite-scroll. All usages are consistent with `vue-infinite-scroll`

其代码也是基于它做了简单修改,并修复了一些bug,比如重复两次请求等问题。
The code is also based on it, made simple modifications, and fixed some bugs, such as repeated requests twice.


## 示例 (Example)
预览效果:[Demo](https://dshvv.github.io/vue3-infinite-scroll-good/)
preview:[Demo](https://dshvv.github.io/vue3-infinite-scroll-good/)

## 示例
预览效果:[点击此处](https://dshvv.github.io/vue3-infinite-scroll-good/)
示例源码:在根目录下的example中
Example source code: in example under the root directory
![preview](https://github.com/dshvv/vue3-infinite-scroll-good/blob/main/preview.gif)

## 安装
## 安装 (install)
```shell
yarn add vue3-infinite-scroll-good
```

## 使用
## 使用 (use)
```javascript
// 全局注册 mian.js
import infiniteScroll from 'vue3-infinite-scroll-good'
Expand Down Expand Up @@ -48,6 +54,9 @@ new Vue({
});
```

## 其他
## 其他(other)
喜欢就给个star
百度`甲乙丙丁少`
Give a star if you like

百度`甲乙丙丁少`
Google`甲乙丙丁少`

0 comments on commit e74ec85

Please sign in to comment.