mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
code refactor
This commit is contained in:
@@ -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<{
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
Reference in New Issue
Block a user