|
@@ -341,10 +341,6 @@ var productList = new Vue({
|
|
|
this.userId = JSON.parse(userInfo).userId;
|
|
|
this.shopID = JSON.parse(userInfo).shopId;
|
|
|
}
|
|
|
- // 获取列表数据
|
|
|
- this.getListByKeyword();
|
|
|
- // 获取对应品牌列表
|
|
|
- this.getCommoditySearchQUeryBrand();
|
|
|
// 设置选中的品牌
|
|
|
setTimeout(()=>{
|
|
|
if(this.hrefBrandId){
|
|
@@ -358,8 +354,11 @@ var productList = new Vue({
|
|
|
this.choiceBrandText = names.join(',').slice(0,15)
|
|
|
}
|
|
|
console.log('aaaaa',_self.defaultBrandLists)
|
|
|
+ // 获取列表数据
|
|
|
+ this.getListByKeyword();
|
|
|
+ // 获取对应品牌列表
|
|
|
+ this.getCommoditySearchQUeryBrand();
|
|
|
},500)
|
|
|
-
|
|
|
},
|
|
|
mounted: function () {
|
|
|
var _self = this;
|