mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 15:59:33 +08:00
chore: update locale
This commit is contained in:
@@ -16,7 +16,7 @@ interface FallbackProps {
|
||||
/**
|
||||
* @zh_CN 内置类型
|
||||
*/
|
||||
status?: '403' | '404' | '500' | 'hello' | 'offline';
|
||||
status?: '403' | '404' | '500' | 'comming-soon' | 'offline';
|
||||
/**
|
||||
* @zh_CN 页面提示语
|
||||
*/
|
||||
|
@@ -19,14 +19,16 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
homePath: '/',
|
||||
image: '',
|
||||
showBack: true,
|
||||
status: 'hello',
|
||||
status: 'comming-soon',
|
||||
title: '',
|
||||
});
|
||||
|
||||
const Icon403 = defineAsyncComponent(() => import('./icons/icon-403.vue'));
|
||||
const Icon404 = defineAsyncComponent(() => import('./icons/icon-404.vue'));
|
||||
const Icon500 = defineAsyncComponent(() => import('./icons/icon-500.vue'));
|
||||
const IconHello = defineAsyncComponent(() => import('./icons/icon-hello.vue'));
|
||||
const IconHello = defineAsyncComponent(
|
||||
() => import('./icons/icon-comming-soon.vue'),
|
||||
);
|
||||
const IconOffline = defineAsyncComponent(
|
||||
() => import('./icons/icon-offline.vue'),
|
||||
);
|
||||
@@ -49,7 +51,7 @@ const titleText = computed(() => {
|
||||
case 'offline': {
|
||||
return $t('fallback.offline-error');
|
||||
}
|
||||
case 'hello': {
|
||||
case 'comming-soon': {
|
||||
return $t('fallback.coming-soon');
|
||||
}
|
||||
default: {
|
||||
@@ -95,7 +97,7 @@ const fallbackIcon = computed(() => {
|
||||
case 'offline': {
|
||||
return IconOffline;
|
||||
}
|
||||
case 'hello': {
|
||||
case 'comming-soon': {
|
||||
return IconHello;
|
||||
}
|
||||
default: {
|
||||
|
Reference in New Issue
Block a user