chdyiboke / weekly

issue and share weekly
5 stars 1 forks source link

taro 编译警告 "export 'defaut' (imported as 'lineChart') #30

Open liukexina opened 4 years ago

liukexina commented 4 years ago

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