Browse Source

优化

master
zhaoyongnian 5 years ago
parent
commit
743467732a
  1. 2
      epdc-resident-mp-yushan/subpages/home/pages/newsDetail/newsDetail.js

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

@ -167,7 +167,7 @@ Page({
api.getResidentConfig().then(res => { api.getResidentConfig().then(res => {
if (res.code === 0 && res.msg === "success") { if (res.code === 0 && res.msg === "success") {
res.data.forEach(item => { res.data.forEach(item => {
if (item.residentType === "poins_config") { if (item.residentCode === "news_browse_time") {
that.setData({ that.setData({
residentValue:parseInt(item.residentValue) residentValue:parseInt(item.residentValue)
}) })

Loading…
Cancel
Save