更新国际化支持:为自定义规则卡片添加多语言文本,提升用户体验

This commit is contained in:
jxxghp
2025-04-28 19:32:04 +08:00
parent 434543ce41
commit 99212c1186
5 changed files with 152 additions and 33 deletions
-5
View File
@@ -1,10 +1,5 @@
<script lang="ts" setup>
import type { MediaServerPlayItem } from '@/api/types'
import { useI18n } from 'vue-i18n'
// 国际化
const { t } = useI18n()
// 输入参数
const props = defineProps({
media: Object as PropType<MediaServerPlayItem>,