diff --git a/frontend/src/views/setting/index.vue b/frontend/src/views/setting/index.vue
index 4f178a3..d08e9e5 100644
--- a/frontend/src/views/setting/index.vue
+++ b/frontend/src/views/setting/index.vue
@@ -190,7 +190,10 @@ const openDevTools = () => (window as any).electronAPI?.openDevTools?.()
// 更新检查
const checkUpdate = async () => {
try {
- const response = await Service.checkUpdateApiUpdateCheckPost({ current_version: version, if_force: true })
+ const response = await Service.checkUpdateApiUpdateCheckPost({
+ current_version: version,
+ if_force: true,
+ })
if (response.code === 200) {
if (response.if_need_update) {
updateData.value = response.update_info
@@ -229,7 +232,9 @@ const refreshMirrorConfig = async () => {
} catch (e) {
console.error('刷新镜像配置失败', e)
message.error('刷新镜像配置失败')
- } finally { refreshingConfig.value = false }
+ } finally {
+ refreshingConfig.value = false
+ }
}
const goToMirrorTest = () => router.push('/mirror-test')
@@ -244,7 +249,9 @@ const testNotify = async () => {
} catch (e) {
console.error('测试通知发送失败', e)
message.error('测试通知发送失败')
- } finally { testingNotify.value = false }
+ } finally {
+ testingNotify.value = false
+ }
}
onMounted(() => {
@@ -291,8 +298,8 @@ onMounted(() => {
/>
- {
:go-to-mirror-test="goToMirrorTest"
/>
-
+
-
+