有两种方法可以refresh
第一种我没试过location.reload()
 
document.execCommand("refresh")