diff --git a/js/app.js b/js/app.js index 5f39635..0c12e24 100644 --- a/js/app.js +++ b/js/app.js @@ -259,6 +259,12 @@ Anot({ this.optBoxShow = false this.mod = mod }, + // 设置保存 回调 + onProfileSaved() { + this.toggleModule('local') + appInit = Anot.ss('app-init') + }, + togglePlayMode() { let mod = this.playMode mod++ diff --git a/js/modules/profile.js b/js/modules/profile.js index bac14e9..44e9815 100644 --- a/js/modules/profile.js +++ b/js/modules/profile.js @@ -63,6 +63,8 @@ export default Anot({ Anot.ss('app-init', cache) layer.toast('保存成功') + + this.__APP__.onProfileSaved() } } })