diff --git a/ShadowEditor.Web/assets/css/icon/demo_index.html b/ShadowEditor.Web/assets/css/icon/demo_index.html index 6987ca87..538ea916 100644 --- a/ShadowEditor.Web/assets/css/icon/demo_index.html +++ b/ShadowEditor.Web/assets/css/icon/demo_index.html @@ -504,6 +504,12 @@

+
  • + +
    刷新
    +
    
    +
  • +
  • 不可见
    @@ -1283,6 +1289,15 @@
  • +
  • + +
    + 刷新 +
    +
    .icon-refresh +
    +
  • +
  • @@ -1971,6 +1986,14 @@
    #icon-down-triangle
  • +
  • + +
    刷新
    +
    #icon-refresh
    +
  • +
  • {_t('Total {{totalPage}} Pages', { totalPage })}, @@ -133,6 +135,10 @@ class DataGrid extends React.Component { handleLastPage(onLastPage, event) { onLastPage && onLastPage(event); } + + handleRefresh(onRefresh, event) { + onRefresh && onRefresh(event); + } } DataGrid.propTypes = { @@ -160,6 +166,7 @@ DataGrid.propTypes = { onPreviousPage: PropTypes.func, onNextPage: PropTypes.func, onLastPage: PropTypes.func, + onRefresh: PropTypes.func, }; DataGrid.defaultProps = { @@ -179,6 +186,7 @@ DataGrid.defaultProps = { onPreviousPage: null, onNextPage: null, onLastPage: null, + onRefresh: null, }; export default DataGrid; \ No newline at end of file diff --git a/ShadowEditor.Web/src/ui/table/css/DataGrid.css b/ShadowEditor.Web/src/ui/table/css/DataGrid.css index d13af9db..14d0b2fc 100644 --- a/ShadowEditor.Web/src/ui/table/css/DataGrid.css +++ b/ShadowEditor.Web/src/ui/table/css/DataGrid.css @@ -100,6 +100,7 @@ .DataGrid>.page>.IconButton>.iconfont { font-size: 14px; + line-height: 18px; } .DataGrid>.page>.line {