From c80a64a79bc508531091ea39f8d6e3fb82b228d2 Mon Sep 17 00:00:00 2001 From: fuyn Date: Sun, 15 Oct 2023 21:57:54 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=20=E6=94=BE=E5=87=BA=E6=9D=A5=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arknights_mower/utils/simulator.py | 2 +- ui/src/components/MaaWeeklyNew.vue | 4 ++-- ui/src/components/ServerJang.vue | 15 +++++++++------ ui/src/pages/Settings.vue | 2 +- ui/src/pages/depot.vue | 2 +- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/arknights_mower/utils/simulator.py b/arknights_mower/utils/simulator.py index 057489583..43b9af355 100644 --- a/arknights_mower/utils/simulator.py +++ b/arknights_mower/utils/simulator.py @@ -33,7 +33,7 @@ def restart_simulator(data, stop=True, start=True): cmd = "waydroid session stop" if stop: exec_cmd(cmd, data["simulator_folder"]) - logger.info(f"开始关闭{simulator_type}模拟器,等待2秒钟") + logger.info(f"关闭{simulator_type}模拟器") time.sleep(2) if simulator_type == Simulator_Type.Nox.value: cmd = cmd.replace(" -quit", "") diff --git a/ui/src/components/MaaWeeklyNew.vue b/ui/src/components/MaaWeeklyNew.vue index 49be8a944..43fef583c 100644 --- a/ui/src/components/MaaWeeklyNew.vue +++ b/ui/src/components/MaaWeeklyNew.vue @@ -26,7 +26,7 @@ const showstage = (stage) => { '1-7': '1-7', Annihilation: '剿灭', 'LS-6': '经验书', - 'CE-6': '龙门', + 'CE-6': '龙门币', 'AP-5': '红票', 'SK-6': '碳条', 'CA-5': '技能书', @@ -162,7 +162,7 @@ function create_tag(label) { :key="index" :class="{ today: currentDay === index }" > - {{ day }}{{ currentDay === index + 1 ? ' (今天)' : '' }} + {{ day }}{{ currentDay === (index + 1) % 7 ? ' (今天)' : '' }} diff --git a/ui/src/components/ServerJang.vue b/ui/src/components/ServerJang.vue index 71e2bc2e5..60f8df57a 100644 --- a/ui/src/components/ServerJang.vue +++ b/ui/src/components/ServerJang.vue @@ -3,7 +3,7 @@ import { ref, inject } from 'vue' import { useConfigStore } from '@/stores/config' import { storeToRefs } from 'pinia' -const store = useConfigStore(); +const store = useConfigStore() const axios = inject('axios') const mobile = inject('mobile') @@ -13,11 +13,9 @@ const { server_push_enable, sendKey } = storeToRefs(store) async function test_push() { testPushResult.value = '正在发送……' - const response = await axios.get(`${import.meta.env.VITE_HTTP_URL}/test-serverJang-push`); + const response = await axios.get(`${import.meta.env.VITE_HTTP_URL}/test-serverJang-push`) testPushResult.value = response.data } - -