小程序添加体温上报页面
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user