uniapp采用npm第三方库的方法:首先下载第三方库,创建第三方库,创建第三方库【uni-app】工程;然后在那里【uni-app】使用第三方库,代码为【import * as echarts from