add verification support

This commit is contained in:
AceDataCloud committed 2022-04-05 19:38:04 +08:00
1 parent 91a5420a76
commit cc43fb39e8
10 files changed
+98 -29

No files matched your search

+1 -2
View File
@@ -1,5 +1,5 @@
<template>
<verification-alert v-if="!verified" />
<verification-alert />
<el-row>
<el-col :span="24">
<div class="wrapper">
@@ -111,7 +111,6 @@ export default defineComponent({
},
async mounted() {
this.loading = true;
courseService.get(this.id).then(({ data: data }: { data: ICourseDetailResponse }) => {
this.loading = false;
this.course = data;
+1
View File
@@ -48,6 +48,7 @@ export default defineComponent({
episodes: []
};
},
computed: {
id() {
return parseInt(this.$route.params.id.toString());