From 07dcbafd02e169ecd69e4e9209e4ca85b3571d8a Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期六, 17 二月 2024 16:25:03 +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