兰宝车间质量管理系统-前端
deary
2024-05-17 0c620ef5b43f0277f72a32ab5a6cf20118fc1f1b
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) {