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
boxshadow committed Mar 31, 2018
1 parent 6b28d46 commit 908a221
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/page/feed/feedDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@
</article-card>
</template>
<script>
import wx from "@/util/share.js";
import bus from "@/bus.js";
import Wx from "weixin-js-sdk";
import wx from "@/util/share.js";
import ArticleCard from "@/page/article/ArticleCard.vue";
import CommentItem from "@/page/article/ArticleComment.vue";
Expand Down Expand Up @@ -249,7 +249,9 @@ export default {
this.fetching = false;
this.fetchFeedComments();
this.fetchRewards();
this.getWeChatConfig();
if (this.isWechat) {
this.getWeChatConfig();
}
})
.catch(() => {
this.$router.back();
Expand Down
1 change: 1 addition & 0 deletions src/style/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
line-height: 48px;
p {
margin-top: 50px;
word-break: break-all;
}
img {
margin-left: -20px;
Expand Down

0 comments on commit 908a221

Please sign in to comment.