Authored by yyq

fix

... ... @@ -34,7 +34,7 @@ function getBrandList(_index, yhChannel) {
$.get('/3party/material/newBrandList?yh_channel=' + yhChannel, function(data) {
var list = [];
list = Object.keys(data.data.all_list).map(item => {
list = Object.keys(data.data.all_list).map(function(item) {
return { name: item, content: data.data.all_list[item] };
});
list['focus' + _index] = true;
... ...
... ... @@ -80,7 +80,7 @@ function compute(coin) {
type: 'POST',
url: '/cart/ticketcompute',
data: req
}).then((result) => {
}).then(function(result) {
if (result.code === 200) {
order.coin = result.data.usedCoinNum;
yohoCoin.maxCoin = result.data.canUseCoinNum;
... ...