Browse Source

修复商品搜索历史记录删除问题

zhengjinyi 4 years ago
parent
commit
f59cea3f1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      search/pages/search/search.vue

+ 1 - 1
search/pages/search/search.vue

@@ -402,7 +402,7 @@
 			},
 			confirmDetele() {//清空历史记录
 				this.$util.modal('提示','确定删除历史记录?','确定','取消',true,() =>{
-					this.ProductService.GetDeleteProductSearchHistory({userId:this.userID}).then(response =>{
+					this.ProductService.GetDeleteProductSearchHistory({userId:this.userId}).then(response =>{
 						this.$util.msg('删除成功',2000,true,'success')
 						this.serachRecordList=[];
 					}).catch(error =>{