Skip to content

Commit

Permalink
Fix judge (#119)
Browse files Browse the repository at this point in the history
Co-authored-by: bqxbqx <[email protected]>
Co-authored-by: BQX <[email protected]>
Co-authored-by: Li Feng <[email protected]>
Co-authored-by: MaxtuneLee <[email protected]>
Co-authored-by: Maxtune Lee <[email protected]>
  • Loading branch information
6 people authored Apr 9, 2024
1 parent ccb41a1 commit 1147aa0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
CI: false
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
GENERATE_SOURCEMAP: false

run: pnpm build

- name: Generating tarball
Expand Down
6 changes: 4 additions & 2 deletions src/pages/reviewApprover/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
justify-content: flex-start;
// margin-left: 1.1vw;
// height: 85vh;
min-width: 1200px;
// min-width: 1200px;
// padding-right: 20px;
.manage-content-header {
display: flex;
flex-direction: row;
Expand Down Expand Up @@ -65,10 +66,11 @@
}
}
.content::-webkit-scrollbar {
width: 0;
width: 3px;
}
.content {
overflow: auto;
padding-bottom: 1.25rem;
.item {
margin-left: 2.6vw;
margin-top: 2.3vw;
Expand Down
8 changes: 4 additions & 4 deletions src/pages/reviewApprover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const ReviewApprover: React.FC = (props) => {
if (opinion === null || opinion === undefined) {
setOpinion("")
}
uploadWorkScoreInfo(Number(id), score, String(opinion)).then(() => {
uploadWorkScoreInfo(Number(id), score, String(opinion || '')).then(() => {
notification.info({
message: '✅ 提交成功',
description: '自动返回列表',
Expand Down Expand Up @@ -190,7 +190,7 @@ const ReviewApprover: React.FC = (props) => {
</div>
<div className="manage-content-main">
<div className="message">
<div className="navigation">
{/* <div className="navigation">
<Anchor
// target={() => document.getElementById('manage-content-main')}
onClick={(e) => e.preventDefault()}
Expand All @@ -201,7 +201,7 @@ const ReviewApprover: React.FC = (props) => {
<Link href="#attach-message" title="文字展示" />
<Link href="#show-work" title="项目展示" />
</Anchor>
</div>
</div> */}
<div className="content">
<div id="team" className="item">
<h1 style={{ fontSize: '25px', fontWeight: 700 }}>队伍名称</h1>
Expand All @@ -216,7 +216,7 @@ const ReviewApprover: React.FC = (props) => {
</div>

<div id="attach-message" className="item">
<h1 style={{ fontSize: '25px', fontWeight: 700 }}>文字展示</h1>
<h1 style={{ fontSize: '25px', fontWeight: 700 }}>项目信息</h1>
<div className="texts">
{dataList.texts.map((item: any, index: number) => {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/pages/reviewJudge/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
justify-content: flex-start;
// margin-left: 1.1vw;
margin: 35px 57px;
min-width: 1200px;
// min-width: 1200px;
.manage-content-header {
display: flex;
flex-direction: row;
Expand Down Expand Up @@ -57,7 +57,7 @@
}
}
.content::-webkit-scrollbar {
width: 0;
width: 3px;
}
.content {
display: flex;
Expand Down

0 comments on commit 1147aa0

Please sign in to comment.