release: v1.0.2
Publish Docker image / build-and-push (push) Canceled after 0s
GitHub Release / release (push) Canceled after 0s
ci / ci (22, ubuntu-latest) (push) Canceled after 0s

Add i18n (zh-CN/en), mobile navigation menus, stats and upload UI
improvements, and Docker reset-password CLI for emergency recovery.
This commit is contained in:
O96u committed 2026-08-23 17:43:42 +08:00
1 parent 074e4502c2
commit 22cb2ca8bc
46 files changed
+3724 -587

No files matched your search

+9 -5
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
defineProps<{
const props = defineProps<{
open: boolean
count: number
loading?: boolean
@@ -10,6 +10,10 @@ const emit = defineEmits<{
'confirm': []
}>()
const { t } = useI18n()
const description = computed(() => t('delete.confirmDesc', { count: props.count }))
function close() {
emit('update:open', false)
}
@@ -22,20 +26,20 @@ function confirm() {
<template>
<UModal
:open="open"
title="确认删除"
:description="`确定要删除选中的 ${count} 张图片吗?此操作不可恢复。`"
:title="t('delete.confirmTitle')"
:description="description"
@update:open="emit('update:open', $event)"
>
<template #footer>
<div class="flex justify-end gap-2">
<UButton
label="取消"
:label="t('common.cancel')"
color="neutral"
variant="outline"
@click="close"
/>
<UButton
label="确认删除"
:label="t('delete.confirm')"
color="error"
:loading="loading"
@click="confirm"