This commit is contained in:
syuilo
2018-10-19 14:34:51 +09:00
parent b622946844
commit e8de29ae79
5 changed files with 32 additions and 41 deletions

View File

@ -161,6 +161,12 @@ export default (callback: (launch: (router: VueRouter, api?: (os: MiOS) => API)
}
});
document.addEventListener('visibilitychange', () => {
if (!document.hidden) {
os.store.commit('clearBehindNotes');
}
}, false);
Vue.mixin({
data() {
return {