Commit 99676ef3e13be2dfe4d803778a6b359309022b90

Authored by Min
1 parent 1843fd98

1.处理用户搜索 翻译

src/components/Common/Tree/StaticTree.js
... ... @@ -326,14 +326,14 @@ class TreeComponent extends Component {
326 326 render() {
327 327 const treeProps = this.getTreeProps();
328 328 const PermissionContent = commonFunc.showLocalMessage(this.props, 'PermissionContent', '权限内容');
329   -
  329 + const pleaseInputKeyWord = commonFunc.showLocalMessage(this.props, "pleaseInputKeyWord", "请输入你想要搜索的关键字");
330 330 return (
331 331 <FormItem className={styles.subForm}>
332 332 <div className={styles.tableOption}>
333 333 <div id="staticEditTree" ref={ref => { this.treeRef = ref; }}>
334 334 {this.props.isSearch ?
335 335 <SearchModule
336   - placeholder="请输入你想要搜索的关键字"
  336 + placeholder={pleaseInputKeyWord}
337 337 disabled={false}
338 338 onChange={this.handleChange}
339 339 onSearch={this.handleSearch}
... ...