Giter Club home page Giter Club logo

Comments (3)

Ovilia avatar Ovilia commented on April 27, 2024

微信版本 >= 6.6.3,更新过文档了,谢谢

from echarts-for-weixin.

WuHuaJi0 avatar WuHuaJi0 commented on April 27, 2024

补充,对于这个1.9.90的版本提示,微信文档中找不到相关的版本号提示,是否提示有误?
参考文档:https://mp.weixin.qq.com/debug/wxadoc/dev/framework/client-lib.html

这里的兼容性应该和小程序基础库相关的吧?如果是那就是可以参考微信文档中,基础库版本分布,确知版本在用户中的兼容情况?不知这样理解是否对

from echarts-for-weixin.

Ovilia avatar Ovilia commented on April 27, 2024

和小程序团队沟通了一下,应该是微信版本 >= 6.6.3,对应基础调试库 >= 1.9.91。
微信版本和基础调试库的版本是对应的,你需要做的就是:

  • 调试的时候,需要在微信开发者工具中,将“详情”下的“调试基础库”设为 1.9.91 及以上版本。
  • 发布前,需要在 https://mp.weixin.qq.com 的“设置”页面,将“基础库最低版本设置”设为 1.9.91。当用户微信版本过低的时候,会提示用户更新。

一般情况下不需要写代码做额外的判断。除非你想让用户及时在微信版本低的情况下,虽然不能使用 ECharts,但是还是可以使用你的小程序。这种情况下,你就在设置页面将基础库最低版本设高一点,然后根据 https://mp.weixin.qq.com/debug/wxadoc/dev/framework/compatibility.html 做特殊处理。

我更新了一下 README,希望现在更清楚一些了,谢谢!

from echarts-for-weixin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.