Skip to content

Commit 5dd5e5c

Browse files
committed
更新文档
1 parent d9b6a74 commit 5dd5e5c

3 files changed

Lines changed: 26 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.0
2+
- 新增字节跳动小程序
3+
- 重构
4+
15
## 0.1.2
26
- 修复:`reportAnalytics` 等方法多参数传递问题
37

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
## 特点
1313
- 一次编写,多端运行,支持: 微信小程序、支付宝小程序、百度智能小程序、字节跳动小程序
1414
- 支持 Promise(包含 success 回调的才有)
15-
- 针对某些 API 使用做了优化,如:`api.showToast` 可以直接传 `string``api.setStorageSync` 无需调用 `try catch 等`[详情](#优化的api)
15+
- 针对某些 API 使用做了优化,如:`api.showToast` 可以直接传 `string``api.setStorageSync` 无需调用 `try catch 等`
1616
- 支持特殊 API 的事件处理,例如:`request``downloadFile`[详情](#特殊api的事件处理)
1717
- 支持不同端的判断,`api.isWechat``api.isAlipay``api.isSwan``api.isTt`
1818

@@ -355,10 +355,6 @@ if(api.isSwan){
355355

356356

357357

358-
## 优化的API
359-
- `showToast`
360-
361-
362358
## 小程序之间的API差异
363359

364360
1、传参不一致
@@ -542,7 +538,16 @@ downloadTask.$event('onProgressUpdate', (res) => {
542538
```
543539
其它 API 可以类似处理,例如:`request``uploadFile``connectSocket`
544540

545-
## 协议
541+
542+
## Issues
543+
如果您在使用过程中发现 Bug,或者有好的建议,欢迎[报告问题](https://github.com/ChanceYu/mpapi/issues)
544+
545+
546+
## Changelog
547+
[更新日志](./CHANGELOG.md)
548+
549+
550+
## License
546551

547552
[![license][img-mit]][url-mit]
548553

TEMPLATE.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
## 特点
1313
- 一次编写,多端运行,支持: 微信小程序、支付宝小程序、百度智能小程序、字节跳动小程序
1414
- 支持 Promise(包含 success 回调的才有)
15-
- 针对某些 API 使用做了优化,如:`api.showToast` 可以直接传 `string``api.setStorageSync` 无需调用 `try catch 等`[详情](#优化的api)
15+
- 针对某些 API 使用做了优化,如:`api.showToast` 可以直接传 `string``api.setStorageSync` 无需调用 `try catch 等`
1616
- 支持特殊 API 的事件处理,例如:`request``downloadFile`[详情](#特殊api的事件处理)
1717
- 支持不同端的判断,`api.isWechat``api.isAlipay``api.isSwan``api.isTt`
1818

@@ -80,10 +80,6 @@ if(api.isSwan){
8080
<% }) %>
8181

8282

83-
## 优化的API
84-
- `showToast`
85-
86-
8783
## 小程序之间的API差异
8884

8985
1、传参不一致
@@ -267,7 +263,16 @@ downloadTask.$event('onProgressUpdate', (res) => {
267263
```
268264
其它 API 可以类似处理,例如:`request``uploadFile``connectSocket`
269265

270-
## 协议
266+
267+
## Issues
268+
如果您在使用过程中发现 Bug,或者有好的建议,欢迎[报告问题](https://github.com/ChanceYu/mpapi/issues)
269+
270+
271+
## Changelog
272+
[更新日志](./CHANGELOG.md)
273+
274+
275+
## License
271276

272277
[![license][img-mit]][url-mit]
273278

0 commit comments

Comments
 (0)