From cc59502d7cd1f69c7d7138a619b07ffad4373d18 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Mon, 05 May 2025 11:22:35 +0800
Subject: [PATCH] update icon
---
ruoyi-ui/src/components/HeaderSearch/index.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/components/HeaderSearch/index.vue b/ruoyi-ui/src/components/HeaderSearch/index.vue
index 88871ef..9159556 100644
--- a/ruoyi-ui/src/components/HeaderSearch/index.vue
+++ b/ruoyi-ui/src/components/HeaderSearch/index.vue
@@ -13,8 +13,9 @@
ref="headerSearchSelectRef"
size="large"
@input="querySearch"
- prefix-icon="Search"
+ prefix-icon="el-icon-search"
placeholder="菜单搜索,支持标题、URL模糊查询"
+ clearable
>
</el-input>
<el-scrollbar wrap-class="right-scrollbar-wrapper">
@@ -89,7 +90,7 @@
const query = val.query
if(isHttp(val.path)) {
// http(s):// 路径新窗口打开
- const pindex = path.indexOf("http");
+ const pindex = path.indexOf("http")
window.open(path.substr(pindex, path.length), "_blank")
} else {
if (query) {
--
Gitblit v1.9.3