From d2a7189ba2a73efcd05a987049f8f7b9672bf8ae Mon Sep 17 00:00:00 2001 From: Gu-Miao <1450206741@qq.com> Date: Mon, 29 Jul 2024 11:56:57 +0800 Subject: [PATCH] Update ui, and Sekiro --- package.json | 1 + pnpm-lock.yaml | 3 +++ src/App.vue | 56 +++++++++++++++++++++++++++----------------- src/i18n/en.ts | 3 ++- src/i18n/index.ts | 1 + src/i18n/zh.ts | 3 ++- src/utils/Storage.ts | 2 +- 7 files changed, 45 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index 1924699..3ab7bf1 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "build": "tauri build" }, "dependencies": { + "@element-plus/icons-vue": "^2.3.1", "@tauri-apps/api": "^1.5.6", "dayjs": "^1.11.11", "element-plus": "^2.7.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 03dd63d..4483f9d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: dependencies: + '@element-plus/icons-vue': + specifier: ^2.3.1 + version: 2.3.1(vue@3.4.29(typescript@5.4.5)) '@tauri-apps/api': specifier: ^1.5.6 version: 1.5.6 diff --git a/src/App.vue b/src/App.vue index aa78910..13e5240 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,6 +7,7 @@ class="game-select" :placeholder="text.gameNamePlaceholder" clearable + @change="handleGameChange" > + 【{{ text[backup.type] }}】 {{ backup.name === 'quickBackup' ? text.quickBackup : backup.name }}
- {{ text.load }} - - {{ text.update }} - - {{ - text.remove - }} + + +
- -
- {{ text[backup.type] }} -
-
{{ backup.description }}
@@ -201,7 +212,7 @@ - + @@ -222,6 +233,7 @@