Browse Source

优化

integral
zhaoyongnian 5 years ago
parent
commit
88d7a8263c
  1. 7
      epdc-resident-mp-yushan/subpages/home/pages/newsDetail/newsDetail.js

7
epdc-resident-mp-yushan/subpages/home/pages/newsDetail/newsDetail.js

@ -10,8 +10,7 @@ Page({
noticeObj: {}, noticeObj: {},
infoCompleted: 0, infoCompleted: 0,
noticeObjContent: '', noticeObjContent: '',
residentValue:0,//配置时间 residentValue:0 //配置时间
defaultGridId: '' //默认网格id
}, },
onLoad (options) { onLoad (options) {
this.setData({ this.setData({
@ -172,10 +171,6 @@ Page({
that.setData({ that.setData({
residentValue:parseInt(item.residentValue) residentValue:parseInt(item.residentValue)
}) })
} else if (item.residentCode === "default_grid" && item.residentType === "default_grid") {
that.setData({
defaultGridId: item.residentValue
})
} }
}) })
that.countDown() that.countDown()

Loading…
Cancel
Save