File tree Expand file tree Collapse file tree 5 files changed +18
-18
lines changed
ui/src/views/system-chat-user/authentication Expand file tree Collapse file tree 5 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 3838 </el-form-item >
3939 <el-form-item >
4040 <el-checkbox v-model =" form.is_active"
41- >{{ $t('views.system.authentication.cas.enableAuthentication') }}
41+ >{{ $t('views.system.authentication.cas.enableAuthentication') }}
4242 </el-checkbox >
4343 </el-form-item >
4444 </el-form >
5353 </div >
5454</template >
5555<script setup lang="ts">
56- import { reactive , ref , watch , onMounted } from ' vue'
57- import authApi from ' @/api/system /auth'
58- import type { FormInstance , FormRules } from ' element-plus'
59- import { t } from ' @/locales'
60- import { MsgSuccess } from ' @/utils/message'
56+ import {reactive , ref , watch , onMounted } from ' vue'
57+ import authApi from ' @/api/chat-user /auth-setting '
58+ import type {FormInstance , FormRules } from ' element-plus'
59+ import {t } from ' @/locales'
60+ import {MsgSuccess } from ' @/utils/message'
6161
6262const form = ref <any >({
6363 id: ' ' ,
Original file line number Diff line number Diff line change 7979</template >
8080<script setup lang="ts">
8181import { reactive , ref , watch , onMounted } from ' vue'
82- import authApi from ' @/api/system /auth'
82+ import authApi from ' @/api/chat-user /auth-setting '
8383import type { FormInstance , FormRules } from ' element-plus'
8484import { t } from ' @/locales'
8585import { MsgSuccess } from ' @/utils/message'
Original file line number Diff line number Diff line change 100100</template >
101101<script setup lang="ts">
102102import { reactive , ref , onMounted } from ' vue'
103- import authApi from ' @/api/system /auth'
103+ import authApi from ' @/api/chat-user /auth-setting '
104104import type { FormInstance , FormRules } from ' element-plus'
105105import { t } from ' @/locales'
106106import { MsgSuccess } from ' @/utils/message'
Original file line number Diff line number Diff line change 9797</template >
9898<script setup lang="ts">
9999import { reactive , ref , watch , onMounted } from ' vue'
100- import authApi from ' @/api/system /auth'
100+ import authApi from ' @/api/chat-user /auth-setting '
101101import type { FormInstance , FormRules } from ' element-plus'
102102import { t } from ' @/locales'
103103import { MsgSuccess } from ' @/utils/message'
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { useRouter } from 'vue-router'
1717import LDAP from ' ./component/LDAP.vue'
1818import CAS from ' ./component/CAS.vue'
1919import OIDC from ' ./component/OIDC.vue'
20- import SCAN from ' ./component/SCAN.vue'
20+ // import SCAN from './component/SCAN.vue'
2121import OAuth2 from ' ./component/OAuth2.vue'
2222import { t } from ' @/locales'
2323import useStore from ' @/stores'
@@ -47,19 +47,19 @@ const tabList = [
4747 name: ' OAuth2' ,
4848 component: OAuth2 ,
4949 },
50- {
51- label: t (' views.system.authentication.scanTheQRCode.title' ),
52- name: ' SCAN' ,
53- component: SCAN ,
54- },
50+ // {
51+ // label: t('views.system.authentication.scanTheQRCode.title'),
52+ // name: 'SCAN',
53+ // component: SCAN,
54+ // },
5555]
5656
5757function handleClick() {}
5858
5959onMounted (() => {
60- if (user .isExpire ()) {
61- router .push ({ path: ` /application ` })
62- }
60+ // if (user.isExpire()) {
61+ // router.push({ path: `/application` })
62+ // }
6363})
6464 </script >
6565<style lang="scss" scoped>
You can’t perform that action at this time.
0 commit comments