From 0636e0a9254ce94499d2b2b56fa1af519b871834 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 26 Apr 2021 16:17:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E7=A7=BB=E9=A1=B9=E7=9B=AE-=E4=BF=AE?= =?UTF-8?q?=E6=94=B91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AppConfig.js | 2 +- src/forge/Notice/Notify.jsx | 2 +- src/forge/Notice/UndoEvent.jsx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) 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" && 已拒绝