diff --git a/public/react/src/common/showdown-katex/asciimath-to-tex.js b/public/react/src/common/showdown-katex/asciimath-to-tex.js index 120c619df..dddf11778 100644 --- a/public/react/src/common/showdown-katex/asciimath-to-tex.js +++ b/public/react/src/common/showdown-katex/asciimath-to-tex.js @@ -2000,7 +2000,7 @@ function parseSexpr(str) { // abs, floor, ceil return [ `{\\left${symbol.rewriteleftright[0]}${result[0]}\\right${ - symbol.rewriteleftright[1] + symbol.rewriteleftright[1] }}`, result[1], ]; diff --git a/public/react/src/modules/page/MainContent.js b/public/react/src/modules/page/MainContent.js index 01af57572..d755ceb87 100644 --- a/public/react/src/modules/page/MainContent.js +++ b/public/react/src/modules/page/MainContent.js @@ -1,5 +1,4 @@ import React, { Component } from 'react'; - import ActionView from './main/ActionView'; import LeftViewContainer from './main/LeftViewContainer'; @@ -11,7 +10,8 @@ import CodeEvaluateView from './main/CodeEvaluateView'; import ChooseRepositoryView from './main/ChooseRepositoryView'; import ChooseEvaluateView from './main/ChooseEvaluateView' -import { Button } from 'antd' +import { CircularProgress } from 'material-ui/Progress'; +import Button from 'material-ui/Button'; import VNCContainer from './VNCContainer' import { connect } from 'react-redux'; @@ -161,9 +161,11 @@ class MainContent extends Component { ?
+ 正在加载中,请稍后...
-
+
@@ -178,7 +180,7 @@ class MainContent extends Component {
{/* 测试结果、评测信息区域 */} - {loading ?

正在加载中...

+ {loading ? : st === 0 ?
- } - > -
-
- - : - - -
-
-
-
-
- - {/* 选择题或编程题 */} - {/* readRepoTimeout 如果读取代码超时,显示重新加载按钮,重新拉取代码 */} - { - st === 0 - ? - -
- - 正在加载中,请稍后... -
-
- -
-
- : this.chooseQfun(ref)}{...this.props}> - } - {/* */} -
-
- {/*
*/} -
-
- {/* 测试结果、评测信息区域 */} - {loading ? - : - st === 0 - ? - : - } -
-
-
+
+
-
- -
- -
- + }