Commit a17a89ba authored by leiqingsong's avatar leiqingsong

修改

parent 8193c2d2
...@@ -84,8 +84,10 @@ export default { ...@@ -84,8 +84,10 @@ export default {
}, },
logout() { logout() {
localStorage.removeItem("token"); localStorage.removeItem("token");
logout().then(); logout().then().catch(err => {
this.bridgeToAppFun.logoutToApp(); console.log('后台退出err', err);
});
this.$bridgeToAppFun.logoutToApp();
}, },
jumpToInstructions() { jumpToInstructions() {
this.$router.push("/instructions"); 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