diff --git a/arknights_mower/solvers/base_schedule.py b/arknights_mower/solvers/base_schedule.py index 36d879ec..88ae7f57 100644 --- a/arknights_mower/solvers/base_schedule.py +++ b/arknights_mower/solvers/base_schedule.py @@ -126,6 +126,7 @@ def run(self) -> None: if len(self.tasks) > 0: # 找到时间最近的一次单个任务 self.task = self.tasks[0] + logger.debug(f"当前任务: {str(self.task)}") else: self.task = None if self.task is not None and datetime.now() < self.task.time: @@ -141,7 +142,6 @@ def run(self) -> None: self.free_clue = None if self.credit_fight is not None and self.credit_fight != get_server_weekday(): self.credit_fight = None - logger.debug(self.credit_fight) self.todo_task = False self.collect_notification = False self.planned = False diff --git a/ui/src/pages/Settings.vue b/ui/src/pages/Settings.vue index 1826132a..b83a979c 100644 --- a/ui/src/pages/Settings.vue +++ b/ui/src/pages/Settings.vue @@ -144,6 +144,14 @@ const scene_name = { LOGIN_MAIN_NOENTRY: '登录页面(无按钮入口)', OPERATOR_ONGOING: '代理作战' } + +const onSelectionChange = (newValue) => { + if (newValue === '夜神') { + simulator.value.index = '-1' + } else { + simulator.value.index = '0' + } +}