Authored by 沈志敏

fix bug

... ... @@ -148,7 +148,7 @@
}
}).then(data => {
if (data.code === 200) {
interceptClick.intercept('/me/return');
location.reload();
} else {
tip(data.message);
}
... ... @@ -185,7 +185,13 @@
}
}).fail(() => {
tip('网络错误');
});;
});
document.addEventListener('visibilitychange', function() {
if (!document.hidden) {
location.reload();
}
});
}
};
</script>
... ...