|
@ -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) |
|
|
}) |
|
|
}) |
|
|