From 1da6506bf58270bacc2a4345002c6b082835580e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 21 十月 2021 23:17:08 +0800 Subject: [PATCH] 2021-10-21 --- src/templates/sharecomponent/actioncomponent/verifyprint/index.jsx | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyprint/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyprint/index.jsx index 6327b6a..7b796c3 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyprint/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyprint/index.jsx @@ -316,7 +316,12 @@ } ] })( - <Select dropdownClassName="print-template-setting" onChange={this.changeTemplate}> + <Select + showSearch + filterOption={(input, option) => option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0} + dropdownClassName="print-template-setting" + onChange={this.changeTemplate} + > {this.state.templates.map((option, key) => <Select.Option id={key} key={key} value={option.value}> {option.text} -- Gitblit v1.8.0