master
This commit is contained in:
parent
5bf5a45a49
commit
61edeb5cfb
|
|
@ -48,7 +48,7 @@ const index: FunctionComponent<Props> = (props) => {
|
||||||
const data: any = exceptStr(event.data);
|
const data: any = exceptStr(event.data);
|
||||||
if (!_.isEmpty(data)) {
|
if (!_.isEmpty(data)) {
|
||||||
const {
|
const {
|
||||||
columns, dataSource, pageInfo, selectedRowKeys: rowKeys, i18n: i18nRes = {},
|
columns, dataSource, pageInfo, selectedRowKeys: rowKeys = [], i18n: i18nRes = {},
|
||||||
showTotalCell = false, sumRowlistUrl = "", payload = {}, calcDetail,
|
showTotalCell = false, sumRowlistUrl = "", payload = {}, calcDetail,
|
||||||
fixed = true, tableScrollHeight, sumRow, optWidth
|
fixed = true, tableScrollHeight, sumRow, optWidth
|
||||||
} = data;
|
} = data;
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ const Index: FunctionComponent<Props> = (props) => {
|
||||||
const data: any = exceptStr(event.data);
|
const data: any = exceptStr(event.data);
|
||||||
if (!_.isEmpty(data)) {
|
if (!_.isEmpty(data)) {
|
||||||
const {
|
const {
|
||||||
columns, dataSource, pageInfo, selectedRowKeys: rowKeys, i18n: i18nRes = {},
|
columns, dataSource, pageInfo, selectedRowKeys: rowKeys = [], i18n: i18nRes = {},
|
||||||
selectedKey, showOperateBtn, showDelSalaryFileBtn, DCChiefPermission
|
selectedKey, showOperateBtn, showDelSalaryFileBtn, DCChiefPermission
|
||||||
} = data;
|
} = data;
|
||||||
setShowOperateBtn(showOperateBtn);
|
setShowOperateBtn(showOperateBtn);
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ const Index: FunctionComponent<Props> = (props) => {
|
||||||
const data: any = exceptStr(event.data);
|
const data: any = exceptStr(event.data);
|
||||||
if (!_.isEmpty(data)) {
|
if (!_.isEmpty(data)) {
|
||||||
const {
|
const {
|
||||||
columns, dataSource, pageInfo, selectedRowKeys: rowKeys, i18n: i18nRes = {},
|
columns, dataSource, pageInfo, selectedRowKeys: rowKeys = [], i18n: i18nRes = {},
|
||||||
runStatuses, showOperateBtn
|
runStatuses, showOperateBtn
|
||||||
} = data;
|
} = data;
|
||||||
setShowOperateBtn(showOperateBtn);
|
setShowOperateBtn(showOperateBtn);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue