hive-app/pages/login/index.vue
@@ -51,6 +51,15 @@ this.isLogin(); } }, onBackPress(options){ if (this.lastBackPressed && this.lastBackPressed + 2000 >= Date.now()) { plus.runtime.quit(); }else{ this.lastBackPressed = Date.now(); this.Toast.info('再按一次退出应用'); return true; } }, methods:{ isLogin(){ let token = this.$httpUtils.getToken();