Skip to content

Commit 70fcb9c

Browse files
committed
refactor: 修改OAuth2
1 parent 1a0c7a3 commit 70fcb9c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ui/src/views/authentication/component/OAuth2.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
</div>
7979
</template>
8080
<script setup lang="ts">
81-
import { reactive, ref, watch, onMounted } from 'vue'
81+
import { reactive, ref, onMounted } from 'vue'
8282
import authApi from '@/api/auth-setting'
8383
import type { FormInstance, FormRules } from 'element-plus'
8484
import { t } from '@/locales'

ui/src/views/authentication/index.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
</div>
1212
</template>
1313
<script setup lang="ts">
14-
import { ref, computed, onMounted } from 'vue'
14+
import { ref, onMounted } from 'vue'
1515
import { useRouter } from 'vue-router'
1616
import LDAP from './component/LDAP.vue'
1717
import CAS from './component/CAS.vue'
1818
import OIDC from './component/OIDC.vue'
1919
import SCAN from './component/SCAN.vue'
20+
import OAuth2 from './component/OAuth2.vue'
2021
import { t } from '@/locales'
2122
import useStore from '@/stores'
22-
import OAUTH2 from '@/views/authentication/component/OAUTH2.vue'
2323
2424
const { user } = useStore()
2525
const router = useRouter()
@@ -43,8 +43,8 @@ const tabList = [
4343
},
4444
{
4545
label: t('login.oauth2.title'),
46-
name: 'OAUTH2',
47-
component: OAUTH2
46+
name: 'OAuth2',
47+
component: OAuth2
4848
},
4949
{
5050
label: '扫码登录',

0 commit comments

Comments
 (0)