服务器配置

This commit is contained in:
tianmo committed 2026-10-17 16:09:31 +08:00
1 parent a1b4a63552
commit fa7c8244b0
33 files changed
+1882 -363

No files matched your search

@@ -1,7 +1,12 @@
<script setup lang="ts">
defineProps<{
import type { UploadMediaKind } from '~/composables/useUploadPreferences'
const props = withDefaults(defineProps<{
part: 'upload-preference' | 'image-processing'
}>()
kind?: UploadMediaKind
}>(), {
kind: 'image'
})
const {
compressEnabled,
@@ -9,7 +14,7 @@ const {
copyFormat,
clientWebpQuality,
loadPreferences
} = useUploadPreferences()
} = useUploadPreferences(props.kind)
const { t } = useI18n()