20240205
luoJunYong.123 3 years ago
parent 278979a3c2
commit 306fc0eccb
  1. 8
      src/components/case/index.vue
  2. 1065
      src/pages/counter/list/index.vue

@ -190,7 +190,10 @@ export default {
const { query: { token, assessmentId } } = this.$route const { query: { token, assessmentId } } = this.$route
sessionStorage.setItem('assessmentId', assessmentId) sessionStorage.setItem('assessmentId', assessmentId)
sessionStorage.setItem('token', token) sessionStorage.setItem('token', token)
this.intervalJudge = setInterval(() => { if(process.env.NODE_ENV === "development") {
}else {
this.intervalJudge = setInterval(() => {
const data = { const data = {
id: parseInt(sessionStorage.getItem('assessmentId')), id: parseInt(sessionStorage.getItem('assessmentId')),
token: parseInt(sessionStorage.getItem('token')) token: parseInt(sessionStorage.getItem('token'))
@ -209,7 +212,8 @@ export default {
} }
}) })
}, 3000) }, 3000)
}, }
},
watch: { watch: {
countVal: { countVal: {
deep: true, deep: true,

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save