Commit 53ad9845 authored by haiyoucuv's avatar haiyoucuv

整理一下代码

parent 7d34472d
......@@ -42,7 +42,7 @@ export function isLogin() {
});
}
export function appJump(url) {
export function appJump(url, hideNavbar = false, data = {}) {
console.info('22222')
sendWebNet("/autoLogin/tempSaveCookie", null, null, true)
.then((res) => {
......@@ -53,6 +53,10 @@ export function appJump(url) {
console.info('44444')
window["MarsJSBridge"].invoke("pushPage", {
uri: url,
data,
pageParams: {
hideNavbar,
}
});
})
}
......
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