@wxshot/api 0.1.4 → 0.1.6
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.
- package/README.md +3 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
1、终端使用命令安装 npm 包
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npm install --save @
|
|
6
|
+
npm install --save @wxshot/api@latest
|
|
7
7
|
```
|
|
8
|
-
|
|
9
|
-
> 一般会和[jdwx-components](https://code.miniappapi.com/wx/jdwx-components)一同搭配使用。安装:
|
|
10
8
|
> ```bash
|
|
11
|
-
> npm install --save @
|
|
9
|
+
> npm install --save @wxshot/components@latest
|
|
12
10
|
> ```
|
|
13
11
|
|
|
14
12
|
2、在小程序开发者工具中:菜单选择工具 -> 构建 npm
|
|
@@ -32,7 +30,7 @@ import {
|
|
|
32
30
|
HttpClient,
|
|
33
31
|
|
|
34
32
|
adManager,
|
|
35
|
-
} from '@
|
|
33
|
+
} from '@wxshot/api'
|
|
36
34
|
```
|
|
37
35
|
|
|
38
36
|
### `waitLogin`/`onLoginReady` - 确保登录完成
|