在有些场景下并不需要某些button
有两个方法进行隐藏
第一个通过样式进行隐藏
.ant-modal-footer { .ant-space { .ant-space-item:last-child { display: none; } } }
第二种通过modal 本身的属性进行隐藏
submitter={{ submitButtonProps: { style: { display: 'none' } } }}
在有些场景下并不需要某些button
有两个方法进行隐藏
第一个通过样式进行隐藏
.ant-modal-footer { .ant-space { .ant-space-item:last-child { display: none; } } }
第二种通过modal 本身的属性进行隐藏
submitter={{ submitButtonProps: { style: { display: 'none' } } }}