条件限制
@@ -114,7 +114,7 @@ export default {
},
created() {
this.courseId = this.$route.query.id;
- this.reviewId = this.$route.query.reviewId;
+ this.reviewId =parseInt( this.$route.query.reviewId);
if (!this.courseId) {
this.$toast("课程信息错误");
}