From a65b0f0686ecf67c6e4d053588f21b7b54bf7034 Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Wed, 19 Nov 2025 11:26:10 +0800 Subject: [PATCH] 1.处理暂无数据 --- src/components/Common/CommonComponent/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Common/CommonComponent/index.js b/src/components/Common/CommonComponent/index.js index c6eb05f..c569952 100644 --- a/src/components/Common/CommonComponent/index.js +++ b/src/components/Common/CommonComponent/index.js @@ -559,7 +559,7 @@ export default class CommonComponent extends Component { } /** 获取selectprops对象 */ getSelectProps = () => { - const noData = commonFunc.showLocalMessage(this.props, 'noData', '暂无数据'); + const noData = commonFunc.showLocalMessage(this.props, 'noData', 'No Data'); /* 返回值声明 */ const obj = { showSearch: true, /* 是否有查找功能 */ @@ -841,7 +841,7 @@ export default class CommonComponent extends Component { /** 获取complete对象 */ getCompleteProps = () => { /* 返回值声明 */ - const noData = commonFunc.showLocalMessage(this.props, 'noData', '暂无数据'); + const noData = commonFunc.showLocalMessage(this.props, 'noData', 'NO Data'); const obj = { // disabled: !this.state.enabled /* 修改的时候传过来的数据 */ onChange: this.handleCompleteInputEvent, /* 选择触发事件 */ -- libgit2 0.22.2