兰宝车间质量管理系统-前端
baoshiwei
2025-03-12 6b988bd582bfcd17fee48c476a5a6e5cc172b0d5
src/components/HeaderSearch/index.vue
@@ -36,7 +36,7 @@
const fuse = ref();
const headerSearchSelectRef = ref<ElSelectInstance>();
const router = useRouter();
const routes = computed(() => usePermissionStore().routes);
const routes = computed(() => usePermissionStore().getRoutes());
const click = () => {
  show.value = !show.value;
@@ -149,7 +149,7 @@
  }
});
watch(searchPool, (list) => {
watch(searchPool, (list: Router) => {
  initFuse(list);
});
</script>