Skip to content

Commit

Permalink
feat: [CTable]添加设置列弹窗添加按钮反转
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaojiao.diao committed Dec 12, 2024
1 parent 1f3f0fa commit ebb0ca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/c-table/js/columnConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ class ColumnConfig extends Component {
title: '确定恢复为系统默认设置吗?',
body: '确定后,已编辑内容将不会被保存',
outerClassName: `${tablePrefixCls}-modal-outer`,
isReverseBtn: true,
onOk: () => {
if (!defaultConfigColumns?.length) {
setOriginColumnData(originConfigColumnData.map(item => ({
Expand Down

0 comments on commit ebb0ca7

Please sign in to comment.