diff --git a/static/js/CommonFunction.js b/static/js/CommonFunction.js index f4f2653..aa140ed 100644 --- a/static/js/CommonFunction.js +++ b/static/js/CommonFunction.js @@ -89,9 +89,9 @@ Vue.prototype.showImg = img => { if (!img) return; let timeStamp = new Date().getTime() if (img.indexOf('https://') != -1 || img.indexOf('http://') != -1) { - return img+"?timestamp="+timeStamp; + return img; } else { - return Vue.prototype.NEWAPIURL + img +"?timestamp="+timeStamp; + return Vue.prototype.NEWAPIURL + img; } } diff --git a/subPackages/techan/index.vue b/subPackages/techan/index.vue index 38a0784..29a60eb 100644 --- a/subPackages/techan/index.vue +++ b/subPackages/techan/index.vue @@ -391,7 +391,7 @@ this.Post({ name: this.searchText.trim(), offset: this.searchList.length, - // type: 'pgoods', + type: 'goods', limit: 10, }, '/api/search/search').then(res => { let resData = (res.data || []).map(v=> {return {id: v.id, goods: v.search_data}})