|
|
@@ -92,8 +92,14 @@ Page({
|
|
|
let excute = this.excute(this.data.commonService, this.data.commonService.getGoodsBrandNoPage, {});
|
|
|
excute.then(res => {
|
|
|
if (res.data.code === Constants.SUCESS_CODE) {
|
|
|
+ let sidebarList = []
|
|
|
+ let List = [{ //增加全部标头
|
|
|
+ brandName: mixins.$t('all'),
|
|
|
+ brandId: ''
|
|
|
+ }]
|
|
|
+ sidebarList = List.concat(res.data.data);
|
|
|
this.setData({
|
|
|
- sidebarList: res.data.data
|
|
|
+ sidebarList: sidebarList
|
|
|
})
|
|
|
}
|
|
|
})
|