Authored by weiqingting

ie8 indexOf 不兼容

... ... @@ -20,7 +20,7 @@ if (homePage === 'brands') {
require('./brands');
}
if ($.inArray(homePage,['boys','girls','kids','lifestyle'])>-1) {
if ($.inArray(homePage, ['boys','girls','kids','lifestyle']) > -1) {
require('../common/new-arrivls')({
type: homePage,
url: '/common/getNewArrival',
... ...