refactor: 修改OAuth2

This commit is contained in:
wxg0103 2024-12-04 09:58:08 +08:00
parent 1a0c7a3144
commit 70fcb9ca66
2 changed files with 5 additions and 5 deletions

View File

@ -78,7 +78,7 @@
</div>
</template>
<script setup lang="ts">
import { reactive, ref, watch, onMounted } from 'vue'
import { reactive, ref, onMounted } from 'vue'
import authApi from '@/api/auth-setting'
import type { FormInstance, FormRules } from 'element-plus'
import { t } from '@/locales'

View File

@ -11,15 +11,15 @@
</div>
</template>
<script setup lang="ts">
import { ref, computed, onMounted } from 'vue'
import { ref, onMounted } from 'vue'
import { useRouter } from 'vue-router'
import LDAP from './component/LDAP.vue'
import CAS from './component/CAS.vue'
import OIDC from './component/OIDC.vue'
import SCAN from './component/SCAN.vue'
import OAuth2 from './component/OAuth2.vue'
import { t } from '@/locales'
import useStore from '@/stores'
import OAUTH2 from '@/views/authentication/component/OAUTH2.vue'
const { user } = useStore()
const router = useRouter()
@ -43,8 +43,8 @@ const tabList = [
},
{
label: t('login.oauth2.title'),
name: 'OAUTH2',
component: OAUTH2
name: 'OAuth2',
component: OAuth2
},
{
label: '扫码登录',