兰宝车间质量管理系统-前端
songgaoshuai
2024-03-07 6f9851a4e5fb507069c6ef3e93a76a2945a1b6fe
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>