yujialong 4 years ago
parent 7430299913
commit 8f814c81fd
  1. 8
      src/pages/exam/do/index.vue
  2. 8
      src/pages/practice/do/index.vue

@ -313,9 +313,6 @@ export default {
},1000)
},
save(){
if(this.submiting) return false
this.submiting = true
let data1 = []
let subjects = this.subjects
let uploading = false
subjects.map((e,i) => {
@ -323,7 +320,10 @@ export default {
if(n.uploading) uploading = true
})
})
if(uploading) return this.$message.warning('视频正在上传,请稍等')
if(uploading) return this.$message.warning('视频正在上传,请稍候再试')
if(this.submiting) return false
this.submiting = true
let data1 = []
subjects.map((e,i) => {
e.map((n,k) => {
let userAnswer = ''

@ -271,9 +271,6 @@ export default {
}
},
save(){
if(this.submiting) return false
this.submiting = true
let data1 = []
let subjects = this.subjects
let uploading = false
subjects.map((e,i) => {
@ -281,7 +278,10 @@ export default {
if(n.uploading) uploading = true
})
})
if(uploading) return this.$message.warning('视频正在上传,请稍等')
if(uploading) return this.$message.warning('视频正在上传,请稍候再试')
if(this.submiting) return false
this.submiting = true
let data1 = []
subjects.map((e,i) => {
e.map((n,k) => {
let userAnswer = ''

Loading…
Cancel
Save