Browse Source

治超导出问题

dev
xingyongchun 3 years ago
parent
commit
8bdb90a165
  1. 9
      web/client/src/sections/fillion/components/inforTable.js

9
web/client/src/sections/fillion/components/inforTable.js

@ -447,10 +447,13 @@ const InForTable = (props) => {
defaultCollapsed: false,
optionRender: (searchConfig, formProps, dom) => [
...dom.reverse(),
<Popconfirm title="确认导出?" onConfirm={() => {
<Popconfirm title={rowSelected.length === 0 ? '请勾选内容' : "确认导出?"}
showCancel={rowSelected.length === 0 ? false : true}
onConfirm={() => {
// console.log(rowSelected)
props.exports(rowSelected, counts) }}>
rowSelected.length === 0 ? null : props.exports(rowSelected, counts)
}}
>
<Button
>
导出

Loading…
Cancel
Save