search

Home  >  Q&A  >  body text

javascript - How to deal with the problems caused by referencing the higher version of the WeChat applet basic library in a lower version of WeChat?

Asking for advice on the compatibility of WeChat applet:

I write a WeChat applet here, and then it uses wx.canIuse to detect whether some APIs can be used. So I put the basic library of the mini program

The version is set to 1.1.1

I would like to ask, if a lower version of WeChat client (not compatible with 1.1.1) opens my small program, will it cause an error?

In order to prevent such a problem from happening, I decided to check the WeChat version first, and then give a prompt as long as the version is lower than what it is. But I don’t know at all

How to obtain the relationship between the WeChat version and the WeChat applet basic library. .

怪我咯怪我咯2700 days ago1029

reply all(1)I'll reply

  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-07-05 10:47:32

    Did students not read the manual carefully

    Use canIUse

    reply
    0
  • Cancelreply