go(-1): 原頁面表單中的內容會丟失;
this.$router.go(-1):后退+刷新;
this.$router.go(0):刷新;
this.$router.go(1) :前進
back(): 原頁表表單中的內容會保留;
this.$router.back():后退 ;
this.$router.back(0) 刷新;
this.$router.back(1):前進
原文轉載:https://www.cnblogs.com/vickylinj/p/14189951.html