Browse Source

优化

master
zhaoyongnian 6 years ago
parent
commit
31590867f0
  1. 4
      pages/indexNew/indexNew.js

4
pages/indexNew/indexNew.js

@ -80,6 +80,7 @@ Page({
this.getNoticeList() this.getNoticeList()
this.getIssueList() this.getIssueList()
this.getProjectList() this.getProjectList()
this.loadGridList()
this.setData({ this.setData({
pageNo: 1, pageNo: 1,
newsList: [] newsList: []
@ -110,7 +111,6 @@ Page({
let that = this let that = this
setTimeout(function() { setTimeout(function() {
that.getUserState() that.getUserState()
that.loadGridList()
}, 700) }, 700)
// 检查版本更新 // 检查版本更新
checkoutVersion() checkoutVersion()
@ -283,6 +283,7 @@ Page({
that.getNewsList() that.getNewsList()
that.getIssueList() that.getIssueList()
that.getProjectList() that.getProjectList()
that.loadGridList()
} }
} else if (state == '4') { //未注册,跳到我要注册页面 } else if (state == '4') { //未注册,跳到我要注册页面
if (that.data.gid !== '') { //扫码进来的 if (that.data.gid !== '') { //扫码进来的
@ -331,6 +332,7 @@ Page({
that.getNewsList() that.getNewsList()
that.getIssueList() that.getIssueList()
that.getProjectList() that.getProjectList()
that.loadGridList()
} }
} }
}) })

Loading…
Cancel
Save