兰宝车间质量管理系统-前端
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) {