Authored by ccbikai

商品收藏刷新

... ... @@ -233,6 +233,12 @@
this.updateNavBar();
});
document.addEventListener('visibilitychange', function() {
if (yoho.isApp && !document.hidden) {
location.reload();
}
});
if (yoho.isApp) {
bus.$on('app.favourite.tabChange', this.updateNavBar);
}
... ...
... ... @@ -247,6 +247,12 @@
this.updateNavBar();
});
document.addEventListener('visibilitychange', function() {
if (yoho.isApp && !document.hidden) {
location.reload();
}
});
if (yoho.isApp) {
bus.$on('app.favourite.tabChange', this.updateNavBar);
}
... ...