Commit 816c432b authored by haiyoucuv's avatar haiyoucuv

整理一下代码

parent e5dd6a4e
......@@ -79,8 +79,8 @@ export default class TaskCenter {
WebNetName.finishBrowseTask,
{taskCode: code, taskId: id}
);
location.href = jumpUrl;
// appJump(jumpUrl);
// location.href = jumpUrl;
jumpUrl && appJump(jumpUrl);
});
}
}
......@@ -99,7 +99,8 @@ export default class TaskCenter {
// } else if (type == "s") { // 行方签约任务
// appJump(ju mpUrl)
// }
location.href = jumpUrl;
// location.href = jumpUrl;
jumpUrl && appJump(jumpUrl);
})
}
/** 会员等级达标任务 */
......@@ -107,7 +108,7 @@ export default class TaskCenter {
// 能给链接跳转 就配置正常配置jumpUrl
// 不能跳转 jumpUrl配置$$$ 需要toast提示就配置buttonText
beforeDoComplete(item, () => {
appJump(jumpUrl)
jumpUrl && appJump(jumpUrl);
});
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment