Skip to content

Commit d05f978

Browse files
committed
fix weixin version requirement
1 parent f191212 commit d05f978

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ Page({
8787

8888
## 微信版本要求
8989

90-
支持微信版本 >= 6.6.3。
90+
支持微信版本 >= 6.6.3,对应基础库版本 >= 1.9.91。
91+
92+
调试的时候,需要在微信开发者工具中,将“详情”下的“调试基础库”设为 1.9.91 及以上版本。
93+
94+
发布前,需要在 [https://mp.weixin.qq.com](https://mp.weixin.qq.com) 的“设置”页面,将“基础库最低版本设置”设为 1.9.91。当用户微信版本过低的时候,会提示用户更新。
9195

9296
## 暂不支持的功能
9397

ec-canvas/ec-canvas.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ Component({
2020
ready: function () {
2121
const version = wx.version.version.split('.').map(n => parseInt(n, 10));
2222
const isValid = version[0] > 1 || (version[0] === 1 && version[1] >= 9)
23-
|| (version[0] === 1 && version [1] === 9 && version[2] >= 90);
23+
|| (version[0] === 1 && version [1] === 9 && version[2] >= 91);
2424
if (!isValid) {
2525
console.error('This version of Wexin is not supported by ECharts. '
26-
+ 'Please update Wexin with versions after 1.9.90');
26+
+ 'Please update Wexin with versions after 1.9.91');
2727
return;
2828
}
2929

0 commit comments

Comments
 (0)