Commit 67c85b30 by 李伟康

修改登录

1 parent a960550d
...@@ -84,7 +84,7 @@ Page({ ...@@ -84,7 +84,7 @@ Page({
path = setRouteData(targetPath).url path = setRouteData(targetPath).url
obj = setRouteData(targetPath).obj obj = setRouteData(targetPath).obj
} }
wx.$router.reLaunch(path, obj) wx.$router.redirectTo(path, obj)
} else this.autoLogin(obj) } else this.autoLogin(obj)
}) })
} else this.autoLogin(obj) } else this.autoLogin(obj)
......
...@@ -36,7 +36,7 @@ class NetWork { ...@@ -36,7 +36,7 @@ class NetWork {
}) })
url += `?${query.join('&')}` url += `?${query.join('&')}`
} }
wx.$router.go('login.loading', { wx.$router.redirectTo('login.loading', {
url url
}) })
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!