在开发者工具环境下没有问题,但在预览或真机中就提示
具体分包:
"subpackages": [{
"root": "packageA",
"pages": [
"pages/mine",
"pages/order",
"pages/chart/chart"
] } ],
JS引用:
import * as echarts from '../../ec-canvas/echarts';
Json引用:
{
"usingComponents": {
"ec-canvas":"../../ec-canvas/ec-canvas"
}
}
报错如下:
不知道 用了wxcharts - 。-
canvas 不支持真机