mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
fix: 多帐号设置未更新
未填写对应的config_n导致沿用之前的设置
This commit is contained in:
parent
c2bd7b15ee
commit
8c7a6d13d6
@ -335,10 +335,7 @@ const config = {
|
||||
* @param {string} n
|
||||
*/
|
||||
updata(n) {
|
||||
const new_config = this.raw_config()[`config_${n}`];
|
||||
if (new_config) {
|
||||
this.setObject(new_config)
|
||||
}
|
||||
this.setObject(this.raw_config()[`config_${n}`])
|
||||
},
|
||||
|
||||
init() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user