提交 af69206e authored 作者: lihuihui's avatar lihuihui

updata

上级 81c7cb98
...@@ -104,6 +104,7 @@ ...@@ -104,6 +104,7 @@
<script> <script>
import Exam from '../action' import Exam from '../action'
import { Toast } from 'vant'
// import { Toast } from 'vant' // import { Toast } from 'vant'
export default { export default {
name: 'ExamEnd', name: 'ExamEnd',
...@@ -143,6 +144,10 @@ export default { ...@@ -143,6 +144,10 @@ export default {
} }
}, },
created() { created() {
Toast.loading({
message: '加载中...',
duration: 5000
})
}, },
mounted() { mounted() {
if (this.$route.query.course_id || this.$route.query.tag_id) { if (this.$route.query.course_id || this.$route.query.tag_id) {
...@@ -204,6 +209,7 @@ export default { ...@@ -204,6 +209,7 @@ export default {
} else { } else {
this.ratioNum = 0 this.ratioNum = 0
} }
Toast.clear()
this.changeData() this.changeData()
}) })
}, },
...@@ -250,7 +256,7 @@ export default { ...@@ -250,7 +256,7 @@ export default {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
z-index: 9999999; z-index: 99;
background: #fff; background: #fff;
} }
.head{ .head{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论