引入时加入属性 charset="utf-8"

例如:

<script type="text/javascript" src="index.js" charset="utf-8"></script>

 

相关文章:

  • 2021-08-24
  • 2021-08-03
  • 2021-10-09
  • 2022-01-15
  • 2021-10-29
猜你喜欢
  • 2021-07-02
  • 2021-06-20
  • 2021-12-17
  • 2022-01-12
  • 2021-11-28
  • 2021-08-02
相关资源
相似解决方案