Commit 7f804029 authored by haiyoucuv's avatar haiyoucuv

整理一下代码

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