按照官方示例的renderjs 引入echarts,在旧版本正常,更新HBuilder 版本后不正常了。
一直报错 "module echarts not found" at uni-app-view.umd.js:1
按照官方示例的renderjs 引入echarts,在旧版本正常,更新HBuilder 版本后不正常了。
一直报错 "module echarts not found" at uni-app-view.umd.js:1
1***@qq.com (作者)
知道原因了: 在使用renderjs 的时候模板内只能有一层最外层
如:
<template>
<view class="main"></view>
</template>
不能有多层
<template>
<view>xxxx</view>
<view>xxxx</view>
<view>efwfdfddffd</view>
</template>