diff --git a/src/AppConfig.js b/src/AppConfig.js index 87a7e886..bd24bb7d 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -25,7 +25,7 @@ if (isDev) { } debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' : window.location.search.indexOf('debug=s') !== -1 ? 'student' : - window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'student' + window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin' } window._debugType = debugType; export function initAxiosInterceptors(props) { diff --git a/src/forge/Notice/Notify.jsx b/src/forge/Notice/Notify.jsx index 6ed82786..f4ab2446 100644 --- a/src/forge/Notice/Notify.jsx +++ b/src/forge/Notice/Notify.jsx @@ -42,7 +42,7 @@ function Notify(props){ list.map((i,k)=>{ return(
{i.applied_user && i.applied_user.name} diff --git a/src/forge/Notice/UndoEvent.jsx b/src/forge/Notice/UndoEvent.jsx index 5bfac3ca..ddf9838c 100644 --- a/src/forge/Notice/UndoEvent.jsx +++ b/src/forge/Notice/UndoEvent.jsx @@ -64,14 +64,14 @@ function UndoEvent(props){ list.map((i,k)=>{ return(
{i.user && i.user.name} {i.time_ago}
请求将仓库转移给【{i.owner && i.owner.name}】,是否接受?
+请求将仓库【{i.project && i.project.name}】转移给【{i.owner && i.owner.name}】,是否接受?
{ i.status === "common" && @@ -87,7 +87,7 @@ function UndoEvent(props){ i.status === "canceled" && 对方已取消转移 } { - i.status === "accept" && 已接受 + i.status === "accepted" && 已接受 } { i.status === "refused" && 已拒绝