mirror of
https://github.com/QingdaoU/OnlineJudgeFE.git
synced 2025-01-17 01:46:09 +00:00
修复problem概率性不显示mathjax的问题
This commit is contained in:
parent
df3a76c7e4
commit
ec3aba7961
@ -70,7 +70,7 @@
|
||||
<Panel>
|
||||
<span slot="title">Import User
|
||||
<el-popover placement="right" trigger="hover">
|
||||
<p>Only support csv file without headers, check the <a href="https://github.com">link</a> for details</p>
|
||||
<p>Only support csv file without headers, check the <a href="http://docs.onlinejudge.me/#/onlinejudge/guide/import_users">link</a> for details</p>
|
||||
<i slot="reference" class="el-icon-fa-question-circle import-user-icon"></i>
|
||||
</el-popover>
|
||||
</span>
|
||||
|
@ -255,6 +255,9 @@
|
||||
},
|
||||
methods: {
|
||||
init () {
|
||||
this.$nextTick(() => {
|
||||
window.MathJax.Hub.Queue(['Typeset', window.MathJax.Hub, 'problem-content'])
|
||||
})
|
||||
this.$Loading.start()
|
||||
this.contestID = this.$route.params.contestID
|
||||
this.problemID = this.$route.params.problemID
|
||||
@ -276,9 +279,6 @@
|
||||
if (template && template[this.language]) {
|
||||
this.code = template[this.language]
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
window.MathJax.Hub.Queue(['Typeset', window.MathJax.Hub, 'problem-content'])
|
||||
})
|
||||
}, () => {
|
||||
this.$Loading.error()
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user