From abf2777b2e57943b283310592ca4878e5b67ca33 Mon Sep 17 00:00:00 2001 From: ahao <liuhaoai545@gmail.com> Date: 星期三, 27 十二月 2023 14:28:04 +0800 Subject: [PATCH] fix 修复 页面警告 --- src/views/system/user/profile/thirdParty.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/system/user/profile/thirdParty.vue b/src/views/system/user/profile/thirdParty.vue index 7cdbea9..47ad707 100644 --- a/src/views/system/user/profile/thirdParty.vue +++ b/src/views/system/user/profile/thirdParty.vue @@ -51,14 +51,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