兰宝车间质量管理系统-前端
dzk
2024-04-17 a541d61c0c2a111f9f87fde14d3557e37c3f1546
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>