From 926e3d3423c67674658d27ccfe170d6d86179cce Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Wed, 15 Jul 2020 00:20:55 +0800 Subject: [PATCH] =?UTF-8?q?ChainedCheckboxes=20=E6=94=AF=E6=8C=81=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E7=BA=A7=E5=88=AB=E7=9A=84=20placeholder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ChainedCheckboxes.tsx | 41 +++++++++++++++++----------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/src/components/ChainedCheckboxes.tsx b/src/components/ChainedCheckboxes.tsx index 15a02089f..99a0513ad 100644 --- a/src/components/ChainedCheckboxes.tsx +++ b/src/components/ChainedCheckboxes.tsx @@ -120,7 +120,8 @@ export class ChainedCheckboxes extends BaseCheckboxes< placeholder, classnames: cx, option2value, - itemRender + itemRender, + translate: __ } = this.props; this.valueArray = BaseCheckboxes.value2array(value, options, option2value); @@ -137,18 +138,21 @@ export class ChainedCheckboxes extends BaseCheckboxes< body, options, subTitle, - indexes + indexes, + placeholder }: { body: Array; options: Array