Skip to content

Commit 626cc09

Browse files
committed
修复000结束判断
1 parent 544931f commit 626cc09

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/common/funcList/000_结束判断.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,10 @@ export class Func000 implements IFuncOrigin {
222222
thisScript.myToast(`等待${toSleep}ms`);
223223
sleep(toSleep);
224224
thisScript.rerun();
225-
}
226-
if (typeof thisconf.scheme_switch_enabled !== 'undefined' && thisconf.scheme_switch_enabled) {
227-
thisconf.after_operation = '切换方案';
225+
} else if (typeof thisconf.after_operation === 'undefined') {
226+
if (typeof thisconf.scheme_switch_enabled !== 'undefined' && thisconf.scheme_switch_enabled) {
227+
thisScript.rerun(thisconf.next_scheme);
228+
}
228229
}
229230
}
230231

0 commit comments

Comments
 (0)