|
@@ -42,7 +42,7 @@
|
|
|
<a
|
|
|
class="qm-primary-button"
|
|
|
v-show="!disableDownloadPaperBtn"
|
|
|
- @click="() => tempDisableBtn(course)"
|
|
|
+ @click="() => tempDisableBtnAndDownloadPaper(course)"
|
|
|
href="#"
|
|
|
download
|
|
|
>
|
|
@@ -141,7 +141,7 @@ export default {
|
|
|
window._hmt.push(["_trackEvent", "离线考试页面", "下载作答"]);
|
|
|
window.location.href = url;
|
|
|
},
|
|
|
- tempDisableBtn(course) {
|
|
|
+ tempDisableBtnAndDownloadPaper(course) {
|
|
|
window._hmt.push(["_trackEvent", "离线考试页面", "下载试卷"]);
|
|
|
this.disableDownloadPaperBtn = true;
|
|
|
setTimeout(() => (this.disableDownloadPaperBtn = false), 10 * 1000);
|