This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
appcat
/
sonist
Archived
1
0
Fork 0

优化首选项的配置及操作

2.x
宇天 2019-01-18 01:21:55 +08:00
parent 9905d3c2a2
commit c559f3213d
2 changed files with 8 additions and 0 deletions

View File

@ -259,6 +259,12 @@ Anot({
this.optBoxShow = false this.optBoxShow = false
this.mod = mod this.mod = mod
}, },
// 设置保存 回调
onProfileSaved() {
this.toggleModule('local')
appInit = Anot.ss('app-init')
},
togglePlayMode() { togglePlayMode() {
let mod = this.playMode let mod = this.playMode
mod++ mod++

View File

@ -63,6 +63,8 @@ export default Anot({
Anot.ss('app-init', cache) Anot.ss('app-init', cache)
layer.toast('保存成功') layer.toast('保存成功')
this.__APP__.onProfileSaved()
} }
} }
}) })