4 years ago
parent d03dce2a5a
commit b81ec8e7c6
  1. 1
      src/components/TestPanel.vue
  2. 6
      src/components/codemirror.vue
  3. 6
      src/views/Home.vue

@ -333,6 +333,7 @@ export default {
reload() {
this.$post(this.api.DeleteCodes, this.codeIds).then(res => {
this.getClearTime()
this.grade = '00'
localStorage.removeItem('codeCache')
this.codeIds = []
this.isSubmit = false

@ -618,8 +618,10 @@ export default {
}
/deep/.answer-wrap{
pre{
height: 320px;
overflow-x: scroll;
width: 100%;
white-space: pre-wrap;
// height: 320px;
// overflow-x: scroll;
}
img{
max-width: 100%;

@ -174,7 +174,11 @@ export default {
if(this.projectPermissions){
location.href = `${this.host}hrClient/#/dashboard#2`
}else{
location.href = `${this.host}hrClient/#/dashboard#1`
if(location.host.includes('liuwanr.cn')){
location.href = `http://www.liuwanr.cn/hrClient/#/dashboard#1`
}else{
location.href = `http://www.occupationlab.com/#/dashboard#1`
}
}
this.$refs.mainindex.getClearTime();
},

Loading…
Cancel
Save