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'; import { computed } from 'vue';
interface Button { interface Button {
name: string, name: string;
value: unknown value: unknown;
} }
const props = defineProps<{ const props = defineProps<{
+5 -5
View File
@@ -3,11 +3,11 @@ import vi from './vi.json';
import zhHans from './zh_Hans.json'; import zhHans from './zh_Hans.json';
interface LanguageInfo { interface LanguageInfo {
name: string, name: string;
displayName: string, displayName: string;
alternativeLanguageTag: string, alternativeLanguageTag: string;
aliases?: string[], aliases?: string[];
content: object content: object;
} }
export const defaultLanguage: string = 'en'; export const defaultLanguage: string = 'en';