From 534a25ead22b82e331589d742f617c4b0c947471 Mon Sep 17 00:00:00 2001 From: lijianan <574980606@qq.com> Date: Fri, 29 Dec 2023 23:55:50 +0800 Subject: [PATCH 1/2] chore: code optimization --- docs/examples/auto-tokenization.tsx | 1 + src/BaseSelect.tsx | 13 +++++++------ src/OptionList.tsx | 8 +++----- src/Selector/index.tsx | 5 ++--- src/utils/valueUtil.ts | 2 +- 5 files changed, 14 insertions(+), 15 deletions(-) diff --git a/docs/examples/auto-tokenization.tsx b/docs/examples/auto-tokenization.tsx index c1901085..2393609f 100644 --- a/docs/examples/auto-tokenization.tsx +++ b/docs/examples/auto-tokenization.tsx @@ -7,6 +7,7 @@ const Demo: React.FC = () => (

自动分词

({ label: i.toString(), value: i.toString() }))}