1.使用vue-router的this.$router.go(0)在ios微信瀏覽器中失效vue
解決辦法:使用location.reload()替代;或者使用location.href=location.href+'?random=隨機數'ios
2.在ios微信瀏覽器中,輸入鍵盤彈起後會頂起window,收起後不會自動回位,可能會致使一些點擊事件錯位(視圖看着沒變化)vue-router
解決辦法:給input框加失去焦點事件瀏覽器
blur(){window.scrollTo(0,0)}
微信