Browse Source

:bug: 修复课程场景名称错误问题

zhanghe 6 years ago
parent
commit
68e547ea6b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/stage/index/scene/ShopCartScene.js

+ 1 - 1
src/stage/index/scene/ShopCartScene.js

@@ -175,7 +175,7 @@ class ShopCartScene extends scene {
 			});
 		} else if (e.target.con.classList.contains('goods-wrapper')) {
 			let id = e.target.con.dataset.itemid;
-			let courseScene = document.getElementById('course')
+			let courseScene = document.getElementById('CourseScene')
 			let GlobalGoodDetailScene = document.getElementById('GlobalGoodDetailScene')
 			if (e.target.con.dataset.type === Consts.TYPE_COURSE) {
 				if (courseScene) {