diff --git a/src/forge/Main/version/version.js b/src/forge/Main/version/version.js
index bbc145b9..c28cc4b8 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.user_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 (
)