From 98738f23ad8312ff96f290963c19e527407bbb04 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Wed, 30 Apr 2025 10:31:03 +0800
Subject: [PATCH] 上传组件新增拖动排序属性

---
 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