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

Commit

Permalink
fix(question): (#568) 点击分享提示错误文案的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Oct 16, 2018
1 parent 1cca415 commit 80da4f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/page/question/AnswerDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ export default {
},
isMine() {
return this.user.id === this.CURRENTUSER.id;
},
isWechat() {
return this.$store.state.BROWSER.isWechat;
}
},
created() {
Expand Down Expand Up @@ -254,9 +257,6 @@ export default {
this.fetching = false;
});
},
isWechat() {
return this.$store.state.BROWSER.isWechat;
},
shareAnswer() {
if (this.isWechat) this.$Message.success("请点击右上角微信分享😳");
else this.$Message.success("请使用浏览器的分享功能😳");
Expand Down

0 comments on commit 80da4f9

Please sign in to comment.