From 07b16c5aae891deccb66ad1ac6da5459ed5d05d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Thu, 26 Dec 2019 09:19:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E7=A8=8B=E9=A2=98=E6=96=B0=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/question/Questionitem_banks.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/public/react/src/modules/question/Questionitem_banks.js b/public/react/src/modules/question/Questionitem_banks.js index ba26074cc..f3c610ef7 100644 --- a/public/react/src/modules/question/Questionitem_banks.js +++ b/public/react/src/modules/question/Questionitem_banks.js @@ -164,7 +164,7 @@ class Questionitem_banks extends Component { return; } - if(this.state.item_type===null ||this.state.item_type==="PROGRAM"){ + if(this.state.item_type===null){ return @@ -375,6 +375,12 @@ class Questionitem_banks extends Component { } } + if(this.state.item_type==="PROGRAM"){ + //编程题 跳转到 oj 中创建 + + + + } @@ -477,10 +483,7 @@ class Questionitem_banks extends Component { :item_type&&item_type==="PROGRAM"? -
- - -
+ "" :"" } @@ -499,7 +502,7 @@ class Questionitem_banks extends Component { item_type===null? "" : - this.preservation()} url={'/question'}> + this.preservation()} url={'/question'}> } )