Authored by 陈峰

购物车为你优选

... ... @@ -23,8 +23,13 @@ let indexObj = {
$('.nav-btn').on('click', () => {
self.navClick();
});
self.refreshPage();
require('./index/recommend-for-you').init(self);
let promise = self.refreshPage();
if (promise) {
promise.then(() => {
require('./index/recommend-for-you').init(self);
});
}
},
navClick() {
let self = this;
... ...