dev_aliyun_beta
杨树林 5 years ago
commit 898686a256

@ -605,7 +605,7 @@ class ExerciseNewCommon extends Component{
<i className="iconfont icon-tianjiafangda color-white font-14 mr5" style={{ marginTop: '-1px', display: 'inline-block'}}></i> <i className="iconfont icon-tianjiafangda color-white font-14 mr5" style={{ marginTop: '-1px', display: 'inline-block'}}></i>
</ActionBtn> </ActionBtn>
{exercise_id && <ActionBtn style="blue" className="fr" onClick={() => this.goToPreview()}> {exercise_id && !this.props.hidePreviewButton && <ActionBtn style="blue" className="fr" onClick={() => this.goToPreview()}>
{/* <i className="iconfont icon-tianjiafangda color-white font-14 mr5" style={{ marginTop: '-1px', display: 'inline-block'}}></i> */} {/* <i className="iconfont icon-tianjiafangda color-white font-14 mr5" style={{ marginTop: '-1px', display: 'inline-block'}}></i> */}
试卷预览 试卷预览
</ActionBtn>} </ActionBtn>}

@ -53,6 +53,7 @@ class ExerciseBanksEdit extends Component {
{...this.props} {...this.props}
{...this.state} {...this.state}
{...common} {...common}
hidePreviewButton={true}
wrappedComponentRef={(ref) => this.exerciseNewCommonRef = ref} wrappedComponentRef={(ref) => this.exerciseNewCommonRef = ref}
isEdit={true} isEdit={true}
shixunsUrl={`/exercise_banks/choose_shixun.json`} shixunsUrl={`/exercise_banks/choose_shixun.json`}

Loading…
Cancel
Save