chenxiong 3 lat temu
rodzic
commit
dc087f3c78
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      pages2/class/detail.vue

+ 3 - 0
pages2/class/detail.vue

@@ -964,6 +964,9 @@ export default {
 			this.$api.courseDetail(this.courseId).then(res => {
 				if (res.data.code == 200) {
 					self.detail = res.data.data;
+					uni.setNavigationBarTitle({
+						title:res.data.data.courseName || '课程详情'
+					})
 				}
 			});
 		},