From a8507cc8c42d17d4fb854594dbf1e084d61912ac Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 18 十月 2022 12:44:22 +0800 Subject: [PATCH] 2022-10-18 --- src/templates/zshare/editcard/index.jsx | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/templates/zshare/editcard/index.jsx b/src/templates/zshare/editcard/index.jsx index b18e19d..4266f80 100644 --- a/src/templates/zshare/editcard/index.jsx +++ b/src/templates/zshare/editcard/index.jsx @@ -54,8 +54,8 @@ <div className={'ant-card ant-card-bordered ' + (card.selected ? 'selected' : '')} > <div className="base" onClick={this.changeSelect}> <CheckOutlined /> - <p title={card.field}>{this.props.dict['model.form.field']}锛� <span>{card.field}</span></p> - <p title={card.label}>{this.props.dict['model.name']}锛� <span>{card.label}</span></p> + <p title={card.field}>瀛楁锛� <span>{card.field}</span></p> + <p title={card.label}>鍚嶇О锛� <span>{card.label}</span></p> </div> {type === 'search' ? <Radio.Group onChange={this.changeType} value={card.type} disabled={!card.selected}> @@ -123,18 +123,17 @@ } render() { - const { dict } = this.props const { dataSource, type, loading } = this.state return ( <div className="common-modal-edit-card"> <Row className="search-row"> <Col span={8}> - {!loading ? <Search placeholder={dict['form.required.input'] + dict['model.form.field']} onSearch={value => {this.setState({searchKey: value})}} enterButton /> : null} + {!loading ? <Search placeholder="璇疯緭鍏ュ瓧娈�" onSearch={value => {this.setState({searchKey: value})}} enterButton /> : null} </Col> <Col span={8}> <Button onClick={this.reset}> - {this.props.dict['header.reset']} + 閲嶇疆 </Button> </Col> </Row> @@ -143,7 +142,7 @@ if (item.field.toLowerCase().indexOf(this.state.searchKey.toLowerCase()) >= 0) { return ( <Col key={index} span={8}> - <EditCardCell ref={'cellCard' + index} type={type} card={item} dict={this.props.dict} changeCard={this.changeCard} /> + <EditCardCell ref={'cellCard' + index} type={type} card={item} changeCard={this.changeCard} /> </Col> ) } else { -- Gitblit v1.8.0