a***@live.com
a***@live.com
  • 发布:2021-10-12 18:58
  • 更新:2021-10-12 18:58
  • 阅读:2202

在uniapp vue3的项目中使用秋云uchart组件报错

分类:uni-app

在uniapp vue3的项目中使用秋云uchart组件报错
在微信小程序中是正常的,但是在h5页面会报错,找不到原因

18:30:59.944 6:30:59 PM [vite] Internal server error: This experimental syntax requires enabling one of the following parser plugin(s): 'jsx, flow, typescript' (1011:0)  
18:30:59.945   Plugin: vite:vue  
18:30:59.951   File: /Users/annts/Code/jimujia/jmj-manage-uni/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue  
18:30:59.952   931|                              cfu.option[cid].context.save();  
18:30:59.959   932|                              this._newChart(cid)  
18:30:59.967   933|                            },100)  
18:30:59.967      |                                 ^  
18:30:59.974   934|                          }  
18:30:59.974   935|                        } else {  
18:30:59.985       at Parser._raise (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@babel/parser/lib/index.js:796:17)  
18:30:59.985       at Parser.raiseWithData (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@babel/parser/lib/index.js:789:17)  
18:30:59.992       at Parser.expectOnePlugin (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@babel/parser/lib/index.js:3272:18)  
18:30:59.993       at Parser.parseExprAtom (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@babel/parser/lib/index.js:11523:20)  
18:31:00.007       at Parser.parseExprSubscripts (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@babel/parser/lib/index.js:11090:23)  
18:31:00.008       at Parser.parseUpdate (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@babel/parser/lib/index.js:11070:21)  
18:31:00.019       at Parser.parseMaybeUnary (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@babel/parser/lib/index.js:11048:23)  
18:31:00.020       at Parser.parseExprOps (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@babel/parser/lib/index.js:10891:23)  
18:31:00.027       at Parser.parseMaybeConditional (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@babel/parser/lib/index.js:10865:23)  
18:31:00.027       at Parser.parseMaybeAssign (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@babel/parser/lib/index.js:10823:21)  
2021-10-12 18:58 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复