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