Browse Source

清空列表数据

master
zq 4 weeks ago
parent
commit
8d8552d08d
  1. 2
      pages/searchCoinName/index.vue

2
pages/searchCoinName/index.vue

@ -79,6 +79,7 @@ export default {
}, },
getSearch(){ getSearch(){
this.page = 1; this.page = 1;
this.bedWaitList = [];
this.getCoinsList() this.getCoinsList()
}, },
changeWaitType(type) { changeWaitType(type) {
@ -99,6 +100,7 @@ export default {
uni.showToast({ title: '没有更多数据了', icon: 'none' }); uni.showToast({ title: '没有更多数据了', icon: 'none' });
return; return;
} }
debugger
// //
if (this.page === 1) { if (this.page === 1) {
this.bedWaitList = data.list; this.bedWaitList = data.list;

Loading…
Cancel
Save