Commit 7f804029 authored by haiyoucuv's avatar haiyoucuv

整理一下代码

parent 4083d56a
...@@ -107,21 +107,22 @@ export default class TaskCenter { ...@@ -107,21 +107,22 @@ export default class TaskCenter {
WebNetName.finishBrowseTask, WebNetName.finishBrowseTask,
{taskCode: code, taskId: id} {taskCode: code, taskId: id}
); );
(jumpUrl && jumpUrl != '/') && appJump(jumpUrl, needNav);
// location.href = jumpUrl; // location.href = jumpUrl;
//获取跳转方式 //获取跳转方式
let type = getQueryParamValue(jumpUrl, "type"); // let type = getQueryParamValue(jumpUrl, "type");
console.info("跳转方式type", type) // console.info("跳转方式type", type)
// if (type == "1") { //跳转方式1
if (type == "1") { //跳转方式1 // (jumpUrl && jumpUrl != '/') && appJump(jumpUrl, needNav);
(jumpUrl && jumpUrl != '/') && appJump(jumpUrl, needNav); // } else if (type == "2") {//跳转方式2
} else if (type == "2") {//跳转方式2 // appJumpToMini(
appJumpToMini( // "username",
"username", // jumpUrl,
jumpUrl, // );
); // } else { //不拼方式不跳了,害怕跳错了
} else { //不拼方式不跳了,害怕跳错了 //
// }
}
}); });
} }
......
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