From 362fc56a323cbfc75cf70f64e76d8b2ebadefe45 Mon Sep 17 00:00:00 2001 From: liyj <1003249715@qq.com> Date: Thu, 29 Aug 2024 10:06:22 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh --- gz-customerSystem/src/views/register/visit/component/applyDialog.jsx | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx b/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx index 3d31adb..519d615 100644 --- a/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx +++ b/gz-customerSystem/src/views/register/visit/component/applyDialog.jsx @@ -13,8 +13,8 @@ caseperfection_organize_active, } from '@/assets/images/icon'; import { Form, Input, Button, Radio, Select, Modal, Cascader, Upload, Message } from '@arco-design/web-react'; -import KeyVisits from "./keyVisits"; -import SelectUnitDialog from "./selectUnitDialog"; +import KeyVisits from "./KeyVisits"; +import SelectUnitDialog from "./SelectUnitDialog"; import { IconLink, } from '@arco-design/web-react/icon'; @@ -146,12 +146,16 @@ label='民族' field='nation' > - <Select placeholder='请选择' allowClear> - {['汉族',].map((option, index) => ( - <Option key={option} value={option}> - {option} - </Option> - ))} + <Select + placeholder='请选择' + allowClear + showSearch + options={$$.options.nation} + filterOption={(inputValue, option) => + option.props.value.toLowerCase().indexOf(inputValue.toLowerCase()) >= 0 || + option.props.children.toLowerCase().indexOf(inputValue.toLowerCase()) >= 0 + } + > </Select> </FormItem> </Col> -- Gitblit v1.8.0