From 57fe1c663ebf225d129b213ca7607369d4c8e027 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Mon, 28 Apr 2025 11:20:48 +0800
Subject: [PATCH] 优化Excel匹配数值型.0结尾
---
ruoyi-ui/src/components/HeaderSearch/index.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ruoyi-ui/src/components/HeaderSearch/index.vue b/ruoyi-ui/src/components/HeaderSearch/index.vue
index 88871ef..91496fb 100644
--- a/ruoyi-ui/src/components/HeaderSearch/index.vue
+++ b/ruoyi-ui/src/components/HeaderSearch/index.vue
@@ -15,6 +15,7 @@
@input="querySearch"
prefix-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