admin管理员组

文章数量:1558067

使用vue写H5页面时,用this. r o u t e r . g o ( 0 ) ; 方 法 刷 新 当 前 页 面 ; 在 苹 果 手 机 失 效 , 安 卓 机 和 p c 端 , 开 发 工 具 等 都 是 可 行 的 ; 想 到 t h i s . router.go(0);方法刷新当前页面; 在苹果手机失效,安卓机和pc端,开发工具等都是可行的; 想到this. router.go(0);pcthis.router.go(0)和window.location.reload()都是刷新当前页面的方法;
但是this. r o u t e r . g o ( 0 ) ; 方 法 在 苹 果 手 机 中 失 效 ; 于 是 将 t h i s . router.go(0);方法在苹果手机中失效;于是将this. router.go(0)this.router.go(0);换成window.location.reload()便好了!欧耶o( ̄▽ ̄)ブ

本文标签: 解决方法苹果页面手机router