From fbbb02397148963099e5f3c2dc6097d8afaa149e Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Fri, 11 Oct 2024 21:05:25 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/types/directive.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web-antd/types/directive.d.ts b/apps/web-antd/types/directive.d.ts index c2a6ff76..06b9f553 100644 --- a/apps/web-antd/types/directive.d.ts +++ b/apps/web-antd/types/directive.d.ts @@ -5,7 +5,8 @@ declare module 'vue' { /** * 判断权限: v-access:code="" * 判断角色 v-access:role="" - * TODO: 泛型第四个函数为code或role 不生效 + * VueOfficial插件暂时不支持判断modifer/arg + * @see https://github.com/vuejs/language-tools/issues/4810 */ vAccess: Directive; }