提交 3d7b3bc4 编写于 作者: guangjun.yang's avatar guangjun.yang

appVersion的默认值问题

上级 93df33b9
...@@ -156,6 +156,9 @@ export default { ...@@ -156,6 +156,9 @@ export default {
// component_tag: `882#${actionCode}#${this.projectId}` // component_tag: `882#${actionCode}#${this.projectId}`
// }); // });
// } // }
// this.gotoCourse(item, contentList, index, trySee);
let appVersion = getAppVersion(this.userInfo.appVersion); let appVersion = getAppVersion(this.userInfo.appVersion);
if (item.useFlag == 2) return; if (item.useFlag == 2) return;
if (item.type == 1) { if (item.type == 1) {
...@@ -177,7 +180,7 @@ export default { ...@@ -177,7 +180,7 @@ export default {
let currentExam = {}; let currentExam = {};
// 查找当前课程后面的有没有考试 // 查找当前课程后面的有没有考试
for(let i = index; i < contentList.length; i ++) { for(let i = index; i < contentList.length; i ++) {
if(contentList[i].type == 1 && contentList[i].status != 16) { if(contentList[i].type == 1) {
hasExam = true; hasExam = true;
currentExam = contentList[i]; currentExam = contentList[i];
break; break;
...@@ -277,7 +280,7 @@ export default { ...@@ -277,7 +280,7 @@ export default {
seqNo: 1 seqNo: 1
}); });
} }
console.log(paramList); console.log(paramList.concat(extendsParam));
rocNative.dispatchEventByModuleCode({ rocNative.dispatchEventByModuleCode({
modeCode: "M200", modeCode: "M200",
jsonString: paramList.concat(extendsParam) jsonString: paramList.concat(extendsParam)
......
const coop = { const coop = {
state: { state: {
userInfo: {}, userInfo: {appVersion: '343'},
statusBarHeight: {}, statusBarHeight: {},
projectTabIndex: 1, projectTabIndex: 1,
jumpURLForI: "", //中华医学会一类跳转地址 jumpURLForI: "", //中华医学会一类跳转地址
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册