兰宝车间质量管理系统-前端
疯狂的狮子Li
2024-07-29 1465a27a6eba0677ddbd0d137669bbf6e3c6faf2
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>