...
|
...
|
@@ -251,10 +251,10 @@ |
|
|
url: '/cate/list.json',
|
|
|
data: data
|
|
|
}).then(result => {
|
|
|
if (result) {
|
|
|
self.$set('brandCate', result);
|
|
|
self.$set('cateNavLeftData', result['MEN男士']);
|
|
|
self.$set('cateNavRightData', result['MEN男士'][0].sub);
|
|
|
if (result.code === 200 && result.data) {
|
|
|
self.$set('brandCate', result.data);
|
|
|
self.$set('cateNavLeftData', result.data['MEN男士']);
|
|
|
self.$set('cateNavRightData', result.data['MEN男士'] ? result.data['MEN男士'][0].sub : []);
|
|
|
}
|
|
|
}).fail(() => {
|
|
|
tip('网络错误');
|
...
|
...
|
|