From e29beed8bd5c7f7fa61efb62236d6bcd65d05b05 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期二, 24 十二月 2024 21:59:25 +0800
Subject: [PATCH] update 优化 hasRoles 方法增加超管判断

---
 src/types/global.d.ts |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/types/global.d.ts b/src/types/global.d.ts
index 10cc438..229e181 100644
--- a/src/types/global.d.ts
+++ b/src/types/global.d.ts
@@ -1,12 +1,9 @@
-import type { ComponentInternalInstance as ComponentInstance } from 'vue/runtime-core';
-import type { PropType as VuePropType } from 'vue';
+import type { PropType as VuePropType, ComponentInternalInstance as ComponentInstance } from 'vue';
 import { LanguageEnum } from '@/enums/LanguageEnum';
 
 declare global {
   /** vue Instance */
   declare type ComponentInternalInstance = ComponentInstance;
-  /**vue */
-  declare type PropType<T> = VuePropType<T>;
 
   /**
    * 鐣岄潰瀛楁闅愯棌灞炴��

--
Gitblit v1.9.3