| | |
| | | </div> |
| | | <span class="app-name">MaxKey</span> |
| | | </a> |
| | | <a class="third-app" href="#" title="使用 TopIam 账号授权登录" @click="authUrl('topiam')"> |
| | | <div class="git-other-login-icon"> |
| | | <svg-icon icon-class="topiam" /> |
| | | </div> |
| | | <span class="app-name">TopIam</span> |
| | | </a> |
| | | <a class="third-app" href="#" title="使用 Gitee 账号授权登录" @click="authUrl('gitee')"> |
| | | <div class="git-other-login-icon"> |
| | | <svg-icon icon-class="gitee" /> |
| | |
| | | |
| | | <script lang="ts" setup> |
| | | import { authUnlock, authBinding } from '@/api/system/social/auth'; |
| | | import { PropType } from 'vue'; |
| | | import { propTypes } from '@/utils/propTypes'; |
| | | |
| | | const { proxy } = getCurrentInstance() as ComponentInternalInstance; |
| | | |
| | | const props = defineProps({ |
| | | auths: { |
| | | type: Object as PropType<any> |
| | | } |
| | | auths: propTypes.any.isRequired |
| | | }); |
| | | const auths = computed(() => props.auths); |
| | | |