在html中延迟js脚本加载
defer="defer"
<script type="type/javascript" defer="defer" ></script>
在H5中通过 async 延迟加载 //一般用的少
async="anync"
<script type="type/javascript" asybc="async" ></script>
在html中延迟js脚本加载
defer="defer"
<script type="type/javascript" defer="defer" ></script>
在H5中通过 async 延迟加载 //一般用的少
async="anync"
<script type="type/javascript" asybc="async" ></script>