فهرست منبع

首页访问多次

zhengkaixin 3 سال پیش
والد
کامیت
fffd432113
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      pages/index/index.vue

+ 3 - 0
pages/index/index.vue

@@ -185,6 +185,9 @@
 					type:this.current,
 					memberId:memberId
 				}).then((res) => {
+					if(this.pageIndex==1){
+						this.list=[]
+					}
 					this.list = [
 							...this.list,
 							...res.data.data