YyJj123123
YyJj123123
  • 发布:2022-03-17 16:12
  • 更新:2022-03-17 16:12
  • 阅读:482

为何在html界面引入axios,进入webview调试会闪退?

分类:uni-app

这样引入会报错
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>

报错内容为: Failed to load module script: The server responded with a non-JavaScript MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.

而且web-view调试服务的窗口也会闪退

经过自己百度,查询到好像是说我的html不支持es6的方法,那 我该怎么去引入并使用啊?

2022-03-17 16:12 负责人:无 分享
已邀请:

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