初始化项目

This commit is contained in:
2026-03-19 21:55:47 +08:00
parent e963bfb9d5
commit fe408e4906
45 changed files with 8260 additions and 668 deletions

View File

@@ -1,19 +1,6 @@
<template>
<RouterView>
<template #default="{ Component, route }">
<!--<transition
:name="
getTransitionName({
route,
openCache,
enableTransition: getEnableTransition,
cacheTabs: getCaches,
def: getBasicTransition,
})
"
mode="out-in"
appear
>-->
<keep-alive v-if="openCache" :include="getCaches">
<component :is="Component" :key="route.fullPath" />
</keep-alive>

View File

@@ -38,20 +38,15 @@
<Button type="link" size="small" @click="setLoginState(LoginStateEnum.RESET_PASSWORD)">
{{ t('sys.login.forgetPassword') }}
</Button>
<!--<Button type="link" size="small" @click="setLoginState(LoginStateEnum.REGISTER)">
{{ t('sys.login.registerButton') }}
</Button>-->
</FormItem>
</ACol>
</ARow>
<FormItem class="enter-x">
<Button type="primary" size="large" block @click="handleLogin" :loading="loading">
<Button type="primary" size="defult" block @click="handleLogin" :loading="loading">
{{ t('sys.login.loginButton') }}
</Button>
</FormItem>
</Form>
</div>
</template>
@@ -94,7 +89,7 @@
const emit = defineEmits(['demoMode']);
const formData = reactive({
account: 'system',
account: '',
password: '',
validCode: '',
});