uniapp 微信小程序(vue3) 使用 module.exports = {toUpload: toUpload} 导出 使用let cosUtils = require('./tencent-cos.js');导入 第一次启动报Unexpected token 'export' 错误。需要使用ES6转ES5就好了。为什么

l***@163.com
- 发布:2022-08-19 11:24
- 更新:2022-08-19 14:28
- 阅读:832
Unexpected token 'export'
分类:uni-app
l***@163.com (作者)
好的。谢谢
2022-08-19 15:32