From b7fe034faf113fcbb035f0cc0ec44842d32f7a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= <2897217417@qq.com> Date: Thu, 30 Sep 2021 17:33:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E8=A1=8C=E7=89=88=E5=A2=9E=E5=88=A0?= =?UTF-8?q?=E6=94=B9=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Main/version/version.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/forge/Main/version/version.js b/src/forge/Main/version/version.js index bbc145b9c..e72ea3291 100644 --- a/src/forge/Main/version/version.js +++ b/src/forge/Main/version/version.js @@ -74,8 +74,8 @@ function version(props) {
{item.name} - {data && data.user_permission && type !== 2 && } - {data && data.user_permission && type !== 2 && {deleteRelease(item.version_id)}}>} + {data && data.user_admin_permission && type !== 2 && } + {data && data.user_admin_permission && type !== 2 && {deleteRelease(item.version_id)}}>}
@@ -84,14 +84,14 @@ function version(props) { id={item.id} url={(item.image_url && getImageUrl(`/${item.image_url}`)) || "https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3025493530,1989042357&fm=26&gp=0.jpg"} name={item.user_name} - login={item.user_name} + login={item.login} /> 发布于{item.created_at} { item.bodyshow &&
- +
} @@ -113,7 +113,7 @@ function version(props) { return ( { - data && data.user_permission && type !== 2 && + data && data.user_admin_permission && type !== 2 &&
@@ -126,7 +126,7 @@ function version(props) { } else if (releases && releases.length === 0) { return ( )