File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1112,7 +1112,7 @@ un.interceptors.response.use(
1112
1112
pnpm add @vueuse/core@^9.13.0
1113
1113
```
1114
1114
1115
- 如果你希望使用 ` @vueuse/core@^10.0.0 ` ,请查看 [ dcloudio/uni-app #4604 ] ( https://github.com/dcloudio/uni-app/issues/4604 ) 内提供的解决方案。
1115
+ 如果你希望使用 ` @vueuse/core@^10.0.0 ` 或 ` @vueuse/core@^11.0.0 ` ,请查看 [ dcloudio/uni-app #4604 ] ( https://github.com/dcloudio/uni-app/issues/4604 ) 内提供的解决方案。
1116
1116
1117
1117
从 ` @uni-helper/uni-network/composables ` 中导入组合式函数后即可使用。
1118
1118
@@ -1143,6 +1143,7 @@ import { useUn } from '@uni-helper/uni-network/composables';
1143
1143
如果你因为某些原因坚持使用 ` axios ` ,你可以查看 [ @uni-helper/axios-adapter ] ( https://github.com/uni-helper/axios-adapter ) 获取 ` adapter ` 支持。
1144
1144
1145
1145
以下是 ` @uni-helper/uni-network ` 与其它一些库的比较。如果你发现这里信息已经过时,欢迎提交 ISSUE 或 PR。
1146
+
1146
1147
| | ` axios ` | ` luch-request ` | ` uni-ajax ` | ` @uni-helper/uni-network ` |
1147
1148
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1148
1149
| 基本信息 | [ ![ npm] ( https://img.shields.io/npm/v/axios )] ( https://www.npmjs.com/package/axios ) [ ![ npm] ( https://img.shields.io/npm/dw/axios )] ( https://www.npmjs.com/package/axios ) | [ ![ npm] ( https://img.shields.io/npm/v/luch-request )] ( https://www.npmjs.com/package/luch-request ) [ ![ npm] ( https://img.shields.io/npm/dw/luch-request )] ( https://www.npmjs.com/package/luch-request ) | [ ![ npm] ( https://img.shields.io/npm/v/uni-ajax )] ( https://www.npmjs.com/package/uni-ajax ) [ ![ npm] ( https://img.shields.io/npm/dw/uni-ajax )] ( https://www.npmjs.com/package/uni-ajax ) | [ ![ npm] ( https://img.shields.io/npm/v/@uni-helper/uni-network )] ( https://www.npmjs.com/package/@uni-helper/uni-network ) [ ![ npm] ( https://img.shields.io/npm/dw/@uni-helper/uni-network )] ( https://www.npmjs.com/package/@uni-helper/uni-network ) |
Original file line number Diff line number Diff line change 22
22
pnpm add @vueuse/core@^9.13.0
23
23
```
24
24
25
- 如果你希望使用 ` @vueuse/core@^10.0.0 ` ,请查看 [ dcloudio/uni-app #4604 ] ( https://github.com/dcloudio/uni-app/issues/4604 ) 内提供的解决方案。
25
+ 如果你希望使用 ` @vueuse/core@^10.0.0 ` 或 ` @vueuse/core@^11.0.0 ` ,请查看 [ dcloudio/uni-app #4604 ] ( https://github.com/dcloudio/uni-app/issues/4604 ) 内提供的解决方案。
26
26
27
27
从 ` @uni-helper/uni-network/composables ` 中导入组合式函数后即可使用。
28
28
Original file line number Diff line number Diff line change 87
87
},
88
88
"peerDependencies" : {
89
89
"@vue/composition-api" : " ^1.0.0" ,
90
- "@vueuse/core" : " ^9.0.0 || ^10.0.0" ,
90
+ "@vueuse/core" : " ^9.0.0 || ^10.0.0 || ^11.0.0 " ,
91
91
"vue" : " ^2.6.0 || ^2.7.0 || ^3.2.0"
92
92
},
93
93
"peerDependenciesMeta" : {
You can’t perform that action at this time.
0 commit comments