Open liukexina opened 4 years ago
组件导出时在taro 2.x上export可以直接用,但在taro 3.0上必须写成export default 否则会提示编译警告"export 'default' (imported as 'lineChart') was not found in '../../utils/chart.js'
组件导出时在taro 2.x上export可以直接用,但在taro 3.0上必须写成export default 否则会提示编译警告"export 'default' (imported as 'lineChart') was not found in '../../utils/chart.js'