Commit 96ea28f1 authored by hanfeng zhang's avatar hanfeng zhang

321

parent 14fb61d2
......@@ -26,6 +26,16 @@ export function isAppEnv() {
}
}
export function appNavBack(){
const appEnv = isAppEnv()
if(appEnv){
goBack()
}else{
router.go(-1)
}
}
/**
* 获取用户的资料
* @returns
......
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