...
|
...
|
@@ -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;
|
...
|
...
|
|