fix: fix style, add loading

This commit is contained in:
fantasticit 2022-05-04 19:51:49 +08:00
parent 9dd80bf5d4
commit eba4d8020b
2 changed files with 10 additions and 0 deletions

View File

@ -31,7 +31,16 @@
}
.semi-navigation-footer {
display: block;
height: 64px;
padding-top: 0;
padding-bottom: 0;
.semi-navigation-collapse-btn {
display: flex;
align-items: center;
justify-content: flex-start;
}
}
}
}

View File

@ -87,6 +87,7 @@ export const DocumentVersion: React.FC<IProps> = ({ documentId, onSelect }) => {
type="primary"
style={{ marginRight: 8 }}
disabled={loading || error}
loading={loading}
onClick={() => refresh()}
>