From 9bcc4d631b37ed9f690d60369492c9786e7e9a24 Mon Sep 17 00:00:00 2001 From: 追梦稻草人Li <emmsl@qq.com> Date: 星期二, 23 四月 2024 09:50:07 +0800 Subject: [PATCH] !106 [轻量级pr] add 新增用户选择角色时 可搜索功能 * update src/views/system/user/index.vue. * add 新增角色可搜索 --- src/layout/components/Sidebar/SidebarItem.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue index 7829d18..3720062 100644 --- a/src/layout/components/Sidebar/SidebarItem.vue +++ b/src/layout/components/Sidebar/SidebarItem.vue @@ -36,7 +36,6 @@ import { RouteRecordRaw } from 'vue-router'; const props = defineProps({ - // route object item: { type: Object as PropType<RouteRecordRaw>, required: true @@ -85,7 +84,7 @@ if (isExternal(routePath)) { return routePath; } - if (isExternal(props.basePath)) { + if (isExternal(props.basePath as string)) { return props.basePath; } if (routeQuery) { -- Gitblit v1.9.3