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