Skip to content

Commit

Permalink
Delete useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhero committed Mar 12, 2018
1 parent b49d5ce commit ee62a45
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,23 +131,6 @@ animate();
}
});
},
afterQRScan() {
// const hash = window.location.hash.slice(1);
// const hashObj = getQueryObject(hash);
// const originUrl = window.location.origin;
// history.replaceState({}, '', originUrl);
// const codeMap = {
// wechat: 'code',
// tencent: 'code'
// };
// const codeName = hashObj[codeMap[this.auth_type]];
// if (!codeName) {
// } else {
// this.$store.dispatch('LoginByThirdparty', codeName).then(() => {
// this.$router.push({ path: '/' });
// });
// }
}
},
init() {
Expand Down

0 comments on commit ee62a45

Please sign in to comment.