初始化项目
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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: '',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user