Commit 35ce3033 authored by leiqingsong's avatar leiqingsong

Merge branch 'dev_lqs' into 'master'

修改

See merge request !72
parents 6c5c14a5 7a1f861f
......@@ -56,6 +56,7 @@ class bridgeToAppFun {
console.log("an");
window.android.logout();
} else {
console.log('ios');
jsBridge.callhandler("logout");
}
}
......
......@@ -83,11 +83,11 @@ export default {
});
},
logout() {
localStorage.removeItem("token");
logout().then().catch(err => {
console.log('后台退出err', err);
});
this.$bridgeToAppFun.logoutToApp();
localStorage.removeItem("token");
},
jumpToInstructions() {
this.$router.push("/instructions");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment