wjx 1 月之前
父节点
当前提交
c2e065ba5c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/TablePro/index.tsx

+ 1 - 1
src/components/TablePro/index.tsx

@@ -205,7 +205,7 @@ const TablePro: React.FC<TableProProps> = ({
                 <Col span={24}>
                     <div className={`${style[size]} ${className ? style[className] : ''} `}>
                         <NewTable
-                            sortDirections={['ascend', 'descend', null]}
+                            sortDirections={['descend', 'ascend', null]}
                             bordered
                             className={`all_table content_table_body ${initialState?.settings?.navTheme === 'realDark' ? 'all_table_dark' : ''} content_table_body_${ran} ${className ? className : ''}`}
                             scroll={scroll ? isFull ? { ...scroll, y: document.body.clientHeight - 200 } : scroll : {}}