From 43f3c6743483544343eb814dfe98419e19cfc52e Mon Sep 17 00:00:00 2001 From: wangding <857299269.com> Date: Mon, 29 May 2023 11:26:51 +0800 Subject: [PATCH] add router search --- .vscode/settings.json | 2 +- src/App.vue | 6 +- src/components/RouterSearch/index.vue | 94 +++++++++++++-------------- 3 files changed, 51 insertions(+), 51 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3036ebf1..5b3aa477 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,7 +8,7 @@ "source.fixAll.eslint": true }, "[vue]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" + "editor.defaultFormatter": "Vue.volar" }, "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" diff --git a/src/App.vue b/src/App.vue index c40f767e..f75478cd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,8 +3,7 @@ import { isDark } from '@/utils/is' import { useAppStore } from '@/store/modules/app' import { useDesign } from '@/hooks/web/useDesign' import { CACHE_KEY, useCache } from '@/hooks/web/useCache' -import routerSearch from '@/components/RouterSearch' - +import routerSearch from '@/components/RouterSearch/index.vue' const { getPrefixCls } = useDesign() const prefixCls = getPrefixCls('app') @@ -26,11 +25,12 @@ setDefaultTheme()