Authored by 沈志敏

fix bug

... ... @@ -35,8 +35,6 @@
methods: {
getCoinData() {
let _that = this;
this.busy = true;
if (this.page >= this.pageTotal) {
return;
... ... @@ -49,10 +47,10 @@
}
}).then(result => {
if (result.code === 200) {
_that.busy = false;
this.busy = false;
if (result.data.coinlist.length > 0) {
this.$set('coinList', _that.coinList.concat(result.data.coinlist));
_that.pageTotal = result.data.pageTotal;
this.$set('coinList', this.coinList.concat(result.data.coinlist));
this.pageTotal = result.data.pageTotal;
}
}
}).fail(() => {
... ...