zx-infinite-scroll 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +0 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,14 +20,9 @@ npm install zx-infinite-scroll
20
20
 
21
21
  ## 快速开始
22
22
 
23
- ### ✨ 样式自动注入
24
-
25
- **无需手动引入样式!** 只要导入组件,样式会自动注入到页面中。
26
-
27
23
  ```vue
28
24
  <script setup>
29
25
  import { InfiniteScrollV2 } from 'zx-infinite-scroll';
30
- // ✅ 样式已自动注入,无需手动 import 'xxx/style.css'
31
26
 
32
27
  const fetchData = async ({ page, pageSize }) => {
33
28
  // 你的请求逻辑
@@ -50,8 +45,6 @@ const fetchData = async ({ page, pageSize }) => {
50
45
 
51
46
  ## 使用
52
47
 
53
- > 💡 **提示**:样式已自动注入,无需手动引入 CSS 文件!
54
-
55
48
  ### 方式一:按需引入
56
49
 
57
50
  ```vue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zx-infinite-scroll",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Vue 3 infinite scroll component with pull-to-refresh support",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.es.js",