From 950e277be6a245cd02e1e861db87a49b7cf96eb6 Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Thu, 29 Aug 2024 10:02:29 +0800 Subject: [PATCH] 更改命名 --- 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