From b016d1eb02dd09fd1ffcd24e4e6ddee72fd1b3d6 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 28 二月 2024 10:27:25 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/components/TableSearch/index.jsx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/zy-asrs-flow/src/components/TableSearch/index.jsx b/zy-asrs-flow/src/components/TableSearch/index.jsx
index 5ee1ddf..22c9019 100644
--- a/zy-asrs-flow/src/components/TableSearch/index.jsx
+++ b/zy-asrs-flow/src/components/TableSearch/index.jsx
@@ -214,9 +214,9 @@
const LinkFilter = (props) => {
const [currentOption, setCurrentOption] = React.useState();
const [options, setOptions] = React.useState([]);
-
+
const fetchData = async (value) => {
- return await Http.doPostForm(`api/${props.name}/query`, { condition: value });
+ return await Http.doPostForm(`api/${props.major}/query`, { condition: value });
}
async function initOptions(value) {
--
Gitblit v1.9.1