Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix(认证): 创建投稿时如果需要认证则跳转至认证页面
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Jul 13, 2018
1 parent 59be45e commit e0a13b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/page/PostMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ export default {
methods: {
message() {
this.$Message.error("请先进行身份认证");
this.$router.push({ path: "/profile/certificate" });
this.$nextTick(this.cancel);
},
to(path) {
path = this.login ? path : `/signin?redirect=${path}`;
Expand Down

0 comments on commit e0a13b8

Please sign in to comment.