@myun/gimi-chat 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,14 +21,14 @@ var VideoItem = function VideoItem(_ref) {
21
21
  return state.gimiMenu.businessParams;
22
22
  }),
23
23
  gradeId = _useAppSelector.gradeId,
24
- teachModuleId = _useAppSelector.teachModuleId;
24
+ teachModelId = _useAppSelector.teachModelId;
25
25
  var handleClick = function handleClick() {
26
26
  if (item.isDelete === 1) return;
27
27
  if (platform !== 'myun') return Toast.warning('当前平台不支持溯源跳转');
28
28
  var searchParams = "gradeId=".concat(item.gradeId, "&teachModuleId=").concat(item.id, "&outlineId=").concat(item.courseId, "&phaseId=").concat(item.phaseId);
29
29
  if (item.isJoinClass) {
30
30
  // 如果溯源就是当前视频,直接跳转到溯源的进度
31
- if (gradeId === item.gradeId && teachModuleId === item.id) {
31
+ if (gradeId === item.gradeId && teachModelId === item.id) {
32
32
  onClick === null || onClick === void 0 || onClick(item.startedAtSecond);
33
33
  } else {
34
34
  // 如果不是当前视频,新开一个学习页面