mirror of
https://github.com/certd/certd.git
synced 2026-05-15 20:47:31 +08:00
🔱: [client] sync upgrade with 7 commits [trident-sync]
chore: Merge branch 'vben' # Conflicts: # package.json perf: antdv示例改成使用vben框架 chore: vben chore: vben chore: vben
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<a-result status="403" title="403" sub-title="Sorry, 拒绝访问 .">
|
||||
<template #extra>
|
||||
<a-button type="primary" @click="toHome">返回首页( Back Home ) </a-button>
|
||||
</template>
|
||||
</a-result>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
// eslint-disable-next-line vue/multi-word-component-names
|
||||
name: "Exception403",
|
||||
methods: {
|
||||
toHome() {
|
||||
this.$router.push({ path: "/" });
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="main">
|
||||
<a-form ref="formRef" class="user-layout-login" name="custom-validation" :model="formState" :rules="rules" v-bind="layout" @finish="handleFinish" @finishFailed="handleFinishFailed">
|
||||
<a-form ref="formRef" class="user-layout-login" name="custom-validation" :model="formState" :rules="rules" v-bind="layout" @finish="handleFinish" @finish-failed="handleFinishFailed">
|
||||
<!-- <div class="login-title">登录</div>-->
|
||||
<a-tabs :active-key="formState.loginType" :tab-bar-style="{ textAlign: 'center', borderBottom: 'unset' }">
|
||||
<a-tab-pane key="password" tab="用户名密码登录">
|
||||
@@ -74,7 +74,11 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent, reactive, ref, toRaw, computed } from "vue";
|
||||
import { useUserStore } from "/src/store/modules/user";
|
||||
import {utils} from "@fast-crud/fast-crud";
|
||||
import { utils } from "@fast-crud/fast-crud";
|
||||
import * as UserApi from "/@/api/modules/api.user";
|
||||
import router from "/@/router";
|
||||
import { mitter } from "/@/utils/util.mitt";
|
||||
import { useAccessStore } from "/@/vben/stores";
|
||||
export default defineComponent({
|
||||
name: "LoginPage",
|
||||
setup() {
|
||||
|
||||
Reference in New Issue
Block a user