From 72ca7a1aae61f2079c374b64bb11472ee3f91743 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 07 五月 2024 17:47:18 +0800 Subject: [PATCH] !111 解决点击菜单时页面空白或者重新刷新整个页面的问题 Merge pull request !111 from 周旭湘/dev --- src/views/system/user/profile/thirdParty.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/system/user/profile/thirdParty.vue b/src/views/system/user/profile/thirdParty.vue index 7cdbea9..c052b9b 100644 --- a/src/views/system/user/profile/thirdParty.vue +++ b/src/views/system/user/profile/thirdParty.vue @@ -32,6 +32,12 @@ </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" /> @@ -51,14 +57,12 @@ <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); -- Gitblit v1.9.3