diff --git a/src/components/Course/courseForm.vue b/src/components/Course/courseForm.vue index 4dcda9ca..ff52f144 100644 --- a/src/components/Course/courseForm.vue +++ b/src/components/Course/courseForm.vue @@ -1218,7 +1218,7 @@ export default { }); this.teacherValues = tlist; this.teacherDownList = tlist; - if (this.courseInfo.tags != '') { + if (this.courseInfo.tags) { this.showTags = this.courseInfo.tags.split(','); } this.$nextTick(function() {