Commit a65b0f0686ecf67c6e4d053588f21b7b54bf7034

Authored by Min
1 parent 88b3b0f2

1.处理暂无数据

src/components/Common/CommonComponent/index.js
... ... @@ -559,7 +559,7 @@ export default class CommonComponent extends Component {
559 559 }
560 560 /** 获取selectprops对象 */
561 561 getSelectProps = () => {
562   - const noData = commonFunc.showLocalMessage(this.props, 'noData', '暂无数据');
  562 + const noData = commonFunc.showLocalMessage(this.props, 'noData', 'No Data');
563 563 /* 返回值声明 */
564 564 const obj = {
565 565 showSearch: true, /* 是否有查找功能 */
... ... @@ -841,7 +841,7 @@ export default class CommonComponent extends Component {
841 841 /** 获取complete对象 */
842 842 getCompleteProps = () => {
843 843 /* 返回值声明 */
844   - const noData = commonFunc.showLocalMessage(this.props, 'noData', '暂无数据');
  844 + const noData = commonFunc.showLocalMessage(this.props, 'noData', 'NO Data');
845 845 const obj = {
846 846 // disabled: !this.state.enabled /* 修改的时候传过来的数据 */
847 847 onChange: this.handleCompleteInputEvent, /* 选择触发事件 */
... ...