Commit 541b745de5e3e9196131f38aeebd3be8da78afe6
1 parent
6e8bd92c
fix(finance): 财务主题设置屏蔽删除按钮
Showing
1 changed file
with
2 additions
and
2 deletions
src/pages/finance/FinanceSubject/components/ListAccounts.tsx
... | ... | @@ -73,14 +73,14 @@ export default function AccountList() { |
73 | 73 | 编辑 |
74 | 74 | </a> |
75 | 75 | <Divider type="vertical" /> |
76 | - <Popconfirm | |
76 | + {/* <Popconfirm | |
77 | 77 | title={`是否删除${record.name}?`} |
78 | 78 | onConfirm={() => record.id && deleteRow(record.id)} |
79 | 79 | okText="确定" |
80 | 80 | cancelText="取消" |
81 | 81 | > |
82 | 82 | <a onClick={(e) => e.preventDefault()}>删除</a> |
83 | - </Popconfirm> | |
83 | + </Popconfirm> */} | |
84 | 84 | </> |
85 | 85 | )} |
86 | 86 | /> | ... | ... |