...
|
...
|
@@ -35,7 +35,6 @@ const _processNavData = (list, type) => { |
|
|
|
|
|
formatData.push(data);
|
|
|
});
|
|
|
console.log(formatData);
|
|
|
|
|
|
return formatData;
|
|
|
};
|
...
|
...
|
@@ -387,8 +386,9 @@ const _getRelateBrand = (id) => { |
|
|
|
|
|
_.forEach(result.data, function(data) {
|
|
|
let domain = data.url;
|
|
|
domain = domain.substring(domain.indexOf('/')+2, domain.indexOf('.'))
|
|
|
console.log(domain)
|
|
|
|
|
|
domain = domain.substring(domain.indexOf('/') + 2, domain.indexOf('.'));
|
|
|
console.log(domain);
|
|
|
data.url = `${config.siteUrl}/product/shop/${domain}`;
|
|
|
});
|
|
|
return camelCase(result.data);
|
...
|
...
|
|