style: 快速开站多语言翻译

This commit is contained in:
TsMask
2024-05-24 09:41:20 +08:00
parent 7c78eab431
commit f94b1ef44a
8 changed files with 335 additions and 255 deletions

View File

@@ -6,10 +6,12 @@ import {
shallowRef,
watch,
} from 'vue';
import useAppStore from '@/store/modules/app';
import { parseUrlPath } from '@/plugins/file-static-url';
import { fnRestStepState, stepState } from './hooks/useStep';
import useAppStore from '@/store/modules/app';
import useI18n from '@/hooks/useI18n';
const appStore = useAppStore();
const { t } = useI18n();
// 判断是否有背景地址
const calcBG = computed(() => {
@@ -40,7 +42,7 @@ watch(
);
onMounted(() => {
fnRestStepState();
fnRestStepState(t);
});
</script>