master
4 years ago
parent e6a7716c5b
commit e037329507
  1. 1
      src/components/TestPanel.vue
  2. 2
      src/components/codemirror.vue
  3. 6
      src/views/Home.vue

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

@ -538,7 +538,7 @@ export default {
/deep/.answer-wrap{ /deep/.answer-wrap{
pre{ pre{
width: 100%; width: 100%;
white-space:normal; white-space: pre-wrap;
} }
img{ img{
max-width: 100%; max-width: 100%;

@ -174,7 +174,11 @@ export default {
if(this.projectPermissions){ if(this.projectPermissions){
location.href = `${this.host}hrClient/#/dashboard#2` location.href = `${this.host}hrClient/#/dashboard#2`
}else{ }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(); this.$refs.mainindex.getClearTime();
}, },

Loading…
Cancel
Save