Version Information echarts:5.1.2 UniApp :3.1.8

Reason: When Echarts are introduced, they prioritize the current environment.

Another uniapp global variable is called wx. The judgment that leads here goes straight to the first one.

The solution: in main.js

window.wx = {}

I’m just going to reassign wx.