From 6669c680f79663fc220935d61c3f3f6eee078e7c Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期日, 21 七月 2024 16:56:03 +0800 Subject: [PATCH] 修改了报错 --- ruoyi-ui/src/api/search/index.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/api/search/index.js b/ruoyi-ui/src/api/search/index.js index 543ea86..6ef7185 100644 --- a/ruoyi-ui/src/api/search/index.js +++ b/ruoyi-ui/src/api/search/index.js @@ -1 +1,9 @@ import request from '@/utils/request' +// 鏍规嵁keyword鏌ヨ璁板綍 +export function getSearch(keyword) { + return request({ + url: '/search', + method: 'get', + params: keyword + }) +} -- Gitblit v1.9.1