diff --git a/src/routes/List/BasicList.js b/src/routes/List/BasicList.js index 0886aff12a422e298da7659de716bbd619a4411a..fbad8af2e194be16bc865c43d7741cdbcf57ad1a 100644 --- a/src/routes/List/BasicList.js +++ b/src/routes/List/BasicList.js @@ -24,6 +24,22 @@ const RadioButton = Radio.Button; const RadioGroup = Radio.Group; const { Search } = Input; +const ListContent = ({ data: { owner, createdAt, percent, status } }) => ( +
+
+ Owner +

{owner}

+
+
+ 开始时间 +

{moment(createdAt).format('YYYY-MM-DD HH:mm')}

+
+
+ +
+
+); + @connect(({ list, loading }) => ({ list, loading: loading.models.list, @@ -71,22 +87,6 @@ export default class BasicList extends PureComponent { total: 50, }; - const ListContent = ({ data: { owner, createdAt, percent, status } }) => ( -
-
- Owner -

{owner}

-
-
- 开始时间 -

{moment(createdAt).format('YYYY-MM-DD HH:mm')}

-
-
- -
-
- ); - const menu = (