lchao 1 year ago
parent
commit
98c0370799
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pages/index/index.vue

+ 1 - 0
pages/index/index.vue

@@ -399,6 +399,7 @@
 			},
 			},
 			// 热门知识获取数据
 			// 热门知识获取数据
 			getList() {
 			getList() {
+				this.dataSource=[]
 				let params = {
 				let params = {
 					pageSize: this.knowledgeParams.pageSize,
 					pageSize: this.knowledgeParams.pageSize,
 					pageNum: this.knowledgeParams.pageNum,
 					pageNum: this.knowledgeParams.pageNum,