style: 快速开站多语言翻译

This commit is contained in:
TsMask
2024-05-21 17:10:45 +08:00
parent 814b7b0058
commit 7c78eab431
5 changed files with 111 additions and 41 deletions

View File

@@ -1,12 +1,12 @@
<script setup lang="ts">
import { onMounted } from 'vue';
import { fnToStepName } from '../hooks/useStep';
import { useRouter } from 'vue-router';
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
import { TOKEN_RESPONSE_FIELD } from '@/constants/token-constants';
import { getToken, setToken } from '@/plugins/auth-token';
import { useRouter } from 'vue-router';
import useI18n from '@/hooks/useI18n';
import { bootloaderStart } from '@/api/system/quick-start/bootloader';
import useI18n from '@/hooks/useI18n';
import { fnToStepName } from '../hooks/useStep';
const { t, changeLocale, optionsLocale } = useI18n();
const router = useRouter();
@@ -40,7 +40,7 @@ onMounted(() => {
<div class="ne-main">
<a-space direction="vertical" style="width: 30%">
<a-button block type="primary" @click="fnToStepName('SystemConfig')">
开始
{{ t('views.system.quickStart.start') }}
</a-button>
</a-space>
</div>