From 257610227caa1d81991ab74dc726812166376bd7 Mon Sep 17 00:00:00 2001 From: 18571350067 Date: Wed, 30 Mar 2022 09:34:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=BE=E7=A8=8B=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=8A=A5=E9=94=99=EF=BC=8C=E5=88=A0=E9=99=A4=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E7=9A=84=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/course/CourseAdd.vue | 2 -- src/views/course/CourseDetail.vue | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/views/course/CourseAdd.vue b/src/views/course/CourseAdd.vue index d30c565..483e828 100644 --- a/src/views/course/CourseAdd.vue +++ b/src/views/course/CourseAdd.vue @@ -149,7 +149,6 @@ export default { methods: { //加载数据 loadData() { - this.getCourseTreeData(0) if (this.$route.query.id) { getCourseDetails({ id: this.$route.query.id }).then((res) => { this.form = res.data @@ -202,7 +201,6 @@ export default { //返回 goback() { - console.log('this.$route.query.type', this.$route.query.type) this.$router.push({ // /course/CourseList/sys path: '/course/CourseList/' + this.$route.query.type, diff --git a/src/views/course/CourseDetail.vue b/src/views/course/CourseDetail.vue index 9b5c189..ac034b9 100644 --- a/src/views/course/CourseDetail.vue +++ b/src/views/course/CourseDetail.vue @@ -62,12 +62,10 @@ export default { this.detailData = res.data; this.detailData.coverPath = JSON.parse(res.data.coverPath); - console.log('JSON:::::', this.detailData.coverPath); if (this.detailData.coverPath && this.detailData.coverPath.length != 0) { this.detailData.imagePath = this.detailData.coverPath[0].url; } - console.log('url', this.detailData.imagePath); }); }, @@ -109,7 +107,6 @@ export default { dictionaryDropDown({ dictionaryCode: '0008' }).then(res => { this.dictCourseTag = res.data; - console.log(this.dictCourseTag); // const tags = [] // for (let i = 0; i < this.dictCourseTag.length; i++) {