Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Yapths authored Dec 1, 2018
1 parent 92a54f8 commit dede076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1614080902127/wechat/pages/main/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Page({
navbar: ['首页', '图表'],
zhihu:null,
},onLoad: function () {
var that = this//不要漏了这句,很重要
var that = this
wx.request({
url: 'http://news-at.zhihu.com/api/4/news/latest',
headers: {
Expand Down

0 comments on commit dede076

Please sign in to comment.