feat: 网元快速安装多语言翻译
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
import { PageContainer } from 'antdv-pro-layout';
|
||||
import { defineAsyncComponent, watch, shallowRef, onMounted } from 'vue';
|
||||
import { stepState, fnRestStepState } from './hooks/useStep';
|
||||
import useI18n from '@/hooks/useI18n';
|
||||
const { t } = useI18n();
|
||||
|
||||
// 异步加载组件
|
||||
const Start = defineAsyncComponent(
|
||||
() => import('./components/Start.vue')
|
||||
);
|
||||
const Start = defineAsyncComponent(() => import('./components/Start.vue'));
|
||||
|
||||
// 当前组件
|
||||
const currentComponent = shallowRef(Start);
|
||||
@@ -22,15 +22,13 @@ watch(
|
||||
);
|
||||
|
||||
onMounted(() => {
|
||||
fnRestStepState();
|
||||
fnRestStepState(t);
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<PageContainer>
|
||||
<a-card
|
||||
:bordered="false"
|
||||
>
|
||||
<a-card :bordered="false">
|
||||
<!-- 插槽-卡片左侧 -->
|
||||
<template #title>
|
||||
<!-- 步骤进度 -->
|
||||
|
||||
Reference in New Issue
Block a user