From 3922c16601266e78ee3b90936ba49305c6c8b09a Mon Sep 17 00:00:00 2001 From: ahao <liuhaoai545@gmail.com> Date: 星期三, 27 十二月 2023 12:12:51 +0800 Subject: [PATCH] fix 修复 vue 类型识别问题 --- 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