code refactor

This commit is contained in:
MaysWind
2025-01-04 19:02:30 +08:00
parent 5eec635146
commit 30c463627a
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -14,8 +14,8 @@
import { computed } from 'vue';
interface Button {
name: string,
value: unknown
name: string;
value: unknown;
}
const props = defineProps<{
+5 -5
View File
@@ -3,11 +3,11 @@ import vi from './vi.json';
import zhHans from './zh_Hans.json';
interface LanguageInfo {
name: string,
displayName: string,
alternativeLanguageTag: string,
aliases?: string[],
content: object
name: string;
displayName: string;
alternativeLanguageTag: string;
aliases?: string[];
content: object;
}
export const defaultLanguage: string = 'en';