引入时加入属性 charset="utf-8"
例如:
<script type="text/javascript" src="index.js" charset="utf-8"></script>
引入时加入属性 charset="utf-8"
例如:
<script type="text/javascript" src="index.js" charset="utf-8"></script>
转载于:https://www.cnblogs.com/bettyling/p/8334159.html