Przeglądaj źródła

[c端][修改][积分商城-我可换购和所需积分-刷新后点击没有反应]

tags/C.10.02
hurui 5 lat temu
rodzic
commit
8e156a27ff
1 zmienionych plików z 11 dodań i 4 usunięć
  1. +11
    -4
      pages/integralmall/index.js

+ 11
- 4
pages/integralmall/index.js Wyświetl plik

@@ -193,7 +193,9 @@ Page({
let that = this;
if (that.data.creditAmount !== 0){
that.setData({
allow_load:true,
userCredit: that.data.creditAmount,
page:1
})
that.getList(1)
}
@@ -213,9 +215,11 @@ Page({
if (hid == true) {
hid = false;
that.setData({
allow_load:true,
sort :imgurl.up.url,
sortOrder: 'desc',
sortColumn: 'creditPrice'
sortColumn: 'creditPrice',
page: 1
})
that.getList(1)
}
@@ -224,7 +228,9 @@ Page({
that.setData({
sort: imgurl.down.url,
sortOrder: 'asc',
sortColumn: 'creditPrice'
sortColumn: 'creditPrice',
allow_load: true,
page:1
})
that.getList(1)
}
@@ -342,10 +348,11 @@ Page({
sort: '',
sortColumn: '',
sortOrder: '',
userCredit: ''
userCredit: '',
page:1
})
console.log()
that.getList(1);
that.getPoints();
}
})

Ładowanie…
Anuluj
Zapisz