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

小程序添加体温上报页面

This commit is contained in:
2022-11-27 19:30:07 +08:00
parent d70e7a9cc4
commit 06913f33d3
5 changed files with 211 additions and 12 deletions

View File

@@ -34,6 +34,7 @@ export default {
},
data() {
return {
...Taro.getApp().globalData,
userInfo: null,
displayUsername: "",
userGroup: "unknown",
@@ -48,6 +49,13 @@ export default {
}
},
onLoad() {
// 开发模式下自动跳转到指定页面,节省开发时间
if (this.debugMode) {
Taro.switchTab({ url: '/pages/residents/report' })
}
},
onShow() {
console.log('onShow')
console.log("menuItemDict", menuItemDict)