From 0f22c04237fbe746887feafafca36d5cf996d0e0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 26 九月 2021 18:28:26 +0800 Subject: [PATCH] 2021-09-26 --- 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