fork白屏+关注
This commit is contained in:
parent
657bfbc6df
commit
22ccc3c974
|
@ -142,7 +142,7 @@ const WikiEdit = Loadable({
|
||||||
function checkPathname(projectsId, owner, pathname) {
|
function checkPathname(projectsId, owner, pathname) {
|
||||||
let name = "";
|
let name = "";
|
||||||
if (pathname && pathname !== `/${owner}/${projectsId}`) {
|
if (pathname && pathname !== `/${owner}/${projectsId}`) {
|
||||||
let url = pathname.split(`/${owner}/${projectsId}`)[1];
|
let url = pathname.split(`/${owner}/${projectsId}`)[1] || "";
|
||||||
if (url.indexOf("/about") > -1) {
|
if (url.indexOf("/about") > -1) {
|
||||||
name = "about"
|
name = "about"
|
||||||
} else if (url.indexOf("/issues") > -1 || url.indexOf("Milepost") > 0) {
|
} else if (url.indexOf("/issues") > -1 || url.indexOf("Milepost") > 0) {
|
||||||
|
|
|
@ -93,7 +93,13 @@ class CommonUsers extends Component {
|
||||||
{count === 0 ? (
|
{count === 0 ? (
|
||||||
<NoneData _html="暂时还没有相关数据!" />
|
<NoneData _html="暂时还没有相关数据!" />
|
||||||
) : (
|
) : (
|
||||||
<UserList users={users} userClass={'w-25'} successFunc={this.getUsersList} {...this.props}></UserList>
|
<UserList
|
||||||
|
users={users}
|
||||||
|
userClass={'w-25'}
|
||||||
|
successFunc={this.getUsersList}
|
||||||
|
notReset={true}
|
||||||
|
{...this.props}
|
||||||
|
></UserList>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</Spin>
|
</Spin>
|
||||||
|
|
Loading…
Reference in New Issue