From 6432d165c71213f90cda5c4ae250dd5b83a8cc05 Mon Sep 17 00:00:00 2001
From: ahao <liuhaoai545@gmail.com>
Date: 星期五, 05 一月 2024 12:06:10 +0800
Subject: [PATCH] update 修复启动弹出cjs废弃警告

---
 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