this.r o u t e r . g o ( 0 ) 和 w i n d o w . l o c a t i o n . r e l o a d ( ) 都 是 刷 新 当 前 页 , 但是this.router.go(0),在苹果手机中无反应, 只能用js 原生的 window.location.reload() 方法刷新页面 将this.$router.go(0)换成window.location.reload()即可。
Kotlin IntelliJ IDEA环境搭建
IntelliJ IDEA 免费的社区版下载地址:Download IntelliJ IDEA – The Leading Java and Kotlin IDE
下载安装后,我们就可以使用该工具来创建项目,创建过程需要选择 SDK, Kotlin 与 JDK 1.6 一起使…