|  |  | 
 |  |  |         { | 
 |  |  |             title: '操作', | 
 |  |  |             dataIndex: 'option', | 
 |  |  |             width: 150, | 
 |  |  |             width: 110, | 
 |  |  |             valueType: 'option', | 
 |  |  |             render: (_, record) => [ | 
 |  |  |                 <Button | 
 |  |  |                     type="link" | 
 |  |  |                     key="edit" | 
 |  |  |                     style={{ padding: '2px 3px' }} | 
 |  |  |                     onClick={() => { | 
 |  |  |                         setModalVisible(true); | 
 |  |  |                         setCurrentRow(record); | 
 |  |  | 
 |  |  |                 <Button | 
 |  |  |                     type="link" | 
 |  |  |                     key="pwd" | 
 |  |  |                     style={{ padding: '2px 2px' }} | 
 |  |  |                     onClick={() => { | 
 |  |  |                         setPwdModalVisible(true); | 
 |  |  |                         setCurrentRow(record); | 
 |  |  | 
 |  |  |                 <Button | 
 |  |  |                     type="link" | 
 |  |  |                     danger | 
 |  |  |                     style={{ padding: '4px' }} | 
 |  |  |                     key="remove" | 
 |  |  |                     onClick={async () => { | 
 |  |  |                         Modal.confirm({ | 
 |  |  | 
 |  |  |                 </Button>, | 
 |  |  |                 <TableDropdown | 
 |  |  |                     key="actionGroup" | 
 |  |  |                     name="asds" | 
 |  |  |                     name="dropdown" | 
 |  |  |                     onSelect={(key) => { | 
 |  |  |                         if (key === 'pwd') { | 
 |  |  |                             setPwdModalVisible(true); |