From cb0b9b81c668a4b03dfa8da30a0d3c14302d25fe Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 23 二月 2024 12:37:55 +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