From 5388195111d848c777239b7c0a1d4b9c8c4e96a2 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Wed, 17 Jun 2026 11:24:47 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E7=AE=97=E6=96=B0=E9=97=BB=E7=BC=96?=
=?UTF-8?q?=E8=BE=91=E6=8C=89=E9=92=AE=E7=9A=84=E6=98=BE=E7=A4=BA=E6=9D=A1?=
=?UTF-8?q?=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Information/Pages/selfList.jsx | 5 ++---
src/forge/Information/fetch.js | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/forge/Information/Pages/selfList.jsx b/src/forge/Information/Pages/selfList.jsx
index 3558afab1..c53c9c9c6 100644
--- a/src/forge/Information/Pages/selfList.jsx
+++ b/src/forge/Information/Pages/selfList.jsx
@@ -173,8 +173,7 @@ function SelfList(props){
const auditTypeEnom = {
create: '发布',
update: '编辑',
- delete: '删除',
- nonRepoUpdate: '编辑'
+ delete: '删除'
}
const statueName =(auditType)=>{
@@ -244,7 +243,7 @@ function SelfList(props){
{source==="projects" ? "更新于":"创建于"}{i.timeAgo || moment(i.createTime).format("YYYY/MM/DD")}
- {source==="source" || (source==="news" && (i.auditType && i.auditType.split('-')[0]!=="delete")) && 编辑 }
+ {source==="source" || (source==="news" && !((status === 0 || status===2) && i.auditType && i.auditType.split('-')[0]==="delete")) && 编辑 }
{
source==="projects"?
handleRemove(i.name,i.id)}>移除
diff --git a/src/forge/Information/fetch.js b/src/forge/Information/fetch.js
index 52d69fa3a..739c4842f 100644
--- a/src/forge/Information/fetch.js
+++ b/src/forge/Information/fetch.js
@@ -15,7 +15,7 @@ function beforeFetch(actionUrl){
service.interceptors.request.use(request => {
let deptId = sessionStorage.getItem('deptId');
- // request.headers.Authorization = '0111aaede5482cd146765f9aa8df16dc3d0ad58c'
+ // request.headers.Authorization = 'ea5a846163283f953852483e023fd1a78dfb49de'
if (deptId) {
// 用于权限区分
request.headers['Dept-Id'] = deptId