Commit 7cc32dcf authored by lvtz's avatar lvtz

fix

parent bae623a7
......@@ -213,7 +213,7 @@ Page({
} else {
this.setData({
wallList: data.list
wallList: data.list.splice(0,4) || []
})
}
}).catch((e) => {
......@@ -225,7 +225,7 @@ Page({
hotRankingGet() {
ranklike({
page: 1,
perPage: 10,
perPage: 4,
school_id: this.data.sid,
type: 4,//上月
}).then((res) => {
......@@ -255,7 +255,9 @@ Page({
clockRankingGet(){
clockdays({
school_id: this.data.sid
school_id: this.data.sid,
page: 1,
perPage: 9
}).then((res) => {
const { code, data } = res;
if (code != 200) { // 失败的处理
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment