1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

小程序生成二维码功能完成

This commit is contained in:
2023-03-17 23:27:20 +08:00
parent 079098db63
commit 94a2dbf26d
17 changed files with 41 additions and 2056 deletions

View File

@@ -32,6 +32,7 @@ Page({
wx.redirectTo({
url: '/pages/index/login'
})
return
} else {
// 用户已登录
this.userGroup = getUserGroupByRole(this.userInfo.role)
@@ -47,16 +48,18 @@ Page({
wx.navigateTo({
url: "/pages/scan/entrance"
})
return
}
}
}
// 开发模式下自动跳转到指定页面,节省开发时间
console.log("app.globalData", app.globalData)
if (app.globalData.debugMode) {
wx.switchTab({
url: '/pages/residents/report'
})
// // 开发模式下自动跳转到指定页面,节省开发时间
// console.log("app.globalData", app.globalData)
// if (app.globalData.debugMode) {
// wx.switchTab({
// url: '/pages/residents/report'
// })
// return
// }
}
},