diff --git a/src/components/HeaderSearch/index.vue b/src/components/HeaderSearch/index.vue
deleted file mode 100644
index 86d9cff8e..000000000
--- a/src/components/HeaderSearch/index.vue
+++ /dev/null
@@ -1,190 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/components/RouterSearch/index.vue b/src/components/RouterSearch/index.vue
index c12385af2..ff49293ab 100644
--- a/src/components/RouterSearch/index.vue
+++ b/src/components/RouterSearch/index.vue
@@ -1,5 +1,5 @@
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layout/components/ToolHeader.vue b/src/layout/components/ToolHeader.vue
index 1a8cbc7d6..22d7a457c 100644
--- a/src/layout/components/ToolHeader.vue
+++ b/src/layout/components/ToolHeader.vue
@@ -9,6 +9,7 @@ import { SizeDropdown } from '@/layout/components/SizeDropdown'
import { LocaleDropdown } from '@/layout/components/LocaleDropdown'
import { useAppStore } from '@/store/modules/app'
import { useDesign } from '@/hooks/web/useDesign'
+import RouterSearch from '@/components/RouterSearch/index.vue'
// 头部工具
const { getPrefixCls, variables } = useDesign()
@@ -26,6 +27,9 @@ const hamburger = computed(() => appStore.getHamburger)
// 全屏图标
const screenfull = computed(() => appStore.getScreenfull)
+// 搜索图片
+const search = computed(() => appStore.search)
+
// 尺寸图标
const size = computed(() => appStore.getSize)
@@ -59,6 +63,7 @@ export default defineComponent({
) : undefined}
+ {search.value ? () : undefined}
{screenfull.value ? (
) : undefined}
diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts
index 7de6a0572..6f253a896 100644
--- a/src/locales/zh-CN.ts
+++ b/src/locales/zh-CN.ts
@@ -116,7 +116,7 @@ export default {
},
login: {
welcome: '欢迎使用本系统',
- message: '开箱即用的中后台管理系统',
+ message: '',
tenantname: '租户名称',
username: '用户名',
password: '密码',
@@ -369,7 +369,7 @@ export default {
qrSignInFormTitle: '二维码登录',
signUpFormTitle: '注册',
forgetFormTitle: '重置密码',
- signInTitle: '开箱即用的中后台管理系统',
+ signInTitle: '',
signInDesc: '输入您的个人详细信息开始使用!',
policy: '我同意xxx隐私政策',
scanSign: `扫码后点击"确认",即可完成登录`,
diff --git a/src/store/modules/app.ts b/src/store/modules/app.ts
index b06b6597d..2663e1280 100644
--- a/src/store/modules/app.ts
+++ b/src/store/modules/app.ts
@@ -16,6 +16,7 @@ interface AppState {
uniqueOpened: boolean
hamburger: boolean
screenfull: boolean
+ search: boolean
size: boolean
locale: boolean
message: boolean
@@ -52,6 +53,7 @@ export const useAppStore = defineStore('app', {
uniqueOpened: true, // 是否只保持一个子菜单的展开
hamburger: true, // 折叠图标
screenfull: true, // 全屏图标
+ search: true, // 搜索图标
size: true, // 尺寸图标
locale: true, // 多语言图标
message: true, // 消息图标