提交 7ebc49d9 编写于 作者: D devil_gong

小程序地址细节优化

上级 d292ecde
......@@ -21,7 +21,7 @@ Page({
init() {
var user = app.get_user_cache_info(this, "init");
// 用户未绑定用户则转到登录页面
if (user == false || (user.mobile || null) == null) {
if (app.user_is_need_login(user)) {
swan.redirectTo({
url: "/pages/login/login?event_callback=init"
});
......
......@@ -21,7 +21,7 @@ Page({
init() {
var user = app.get_user_cache_info(this, "init");
// 用户未绑定用户则转到登录页面
if (user == false || ((user.mobile || null) == null)) {
if (app.user_is_need_login(user)) {
wx.redirectTo({
url: "/pages/login/login?event_callback=init"
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册