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