常常用到,因此记录一下,刷新方法不少,用过这三个,因此只记录这三个,后面遇到在更新。javascript
第一种html
this.$router.go(0);
第二种java
location.href = "javascript:history.go(0);";
第三种ide
window.location.reload();
第一种和第二种,只支持安卓和PCpost
第三种支持安卓、IOS、PC都支持,因此推荐第三种。this
原文围观地址 http://www.sharedblog.cn/post/218.htmlcode
我的博客http://sharedblog.cn/router
软件下载http://iqzhan.com/htm