diff --git a/src/forge/About/Index.jsx b/src/forge/About/Index.jsx index 5956a7c6..b36b815c 100644 --- a/src/forge/About/Index.jsx +++ b/src/forge/About/Index.jsx @@ -117,7 +117,7 @@ function Index(props){ {content ? : -
暂无简介~
+
暂无概览~
} {attachments && attachments.length > 0 && li{ height: 42px; display: flex; justify-content: space-between; diff --git a/src/forge/Main/IndexItem.js b/src/forge/Main/IndexItem.js index b3ac2a50..9b6a78c1 100644 --- a/src/forge/Main/IndexItem.js +++ b/src/forge/Main/IndexItem.js @@ -1,6 +1,7 @@ import React, { Component } from 'react'; import { Tooltip } from 'antd'; import { getImageUrl } from 'educoder'; +import { AlignCenter } from '../Component/layout'; import { Link } from 'react-router-dom'; import '../css/index.scss'; import Nodata from '../Nodata'; @@ -33,8 +34,10 @@ class IndexItem extends Component { }
- - {item.author.name}/{item.name} + + + {item.author.name}/{item.name} + { item.forked_from_project_id ? @@ -52,7 +55,7 @@ class IndexItem extends Component { :"" } - + 赞 {item.praises_count} fork {item.forked_count} diff --git a/src/forge/Main/sub/UpdateDescModal.jsx b/src/forge/Main/sub/UpdateDescModal.jsx index cae9c36d..5039123a 100644 --- a/src/forge/Main/sub/UpdateDescModal.jsx +++ b/src/forge/Main/sub/UpdateDescModal.jsx @@ -39,7 +39,7 @@ function UpdateDescModal({form , visible , onCancel , onOk,desc,website,lesson_u {getFieldDecorator("desc",{ rules:[] })( -