|
@@ -11,7 +11,7 @@ Page({
|
|
appointmentList: [],
|
|
appointmentList: [],
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
hasNext: false,
|
|
hasNext: false,
|
|
- globalDataUserName: app.globalData.userInfo.userName,
|
|
|
|
|
|
+ globalDataUserName: '',
|
|
appointmentId: ''
|
|
appointmentId: ''
|
|
},
|
|
},
|
|
|
|
|
|
@@ -20,7 +20,8 @@ Page({
|
|
*/
|
|
*/
|
|
onShow() {
|
|
onShow() {
|
|
this.setData({
|
|
this.setData({
|
|
- navItemActive: '0'
|
|
|
|
|
|
+ navItemActive: '0',
|
|
|
|
+ globalDataUserName: wx.getStorageSync('userName')
|
|
})
|
|
})
|
|
this.getAppointmentList()
|
|
this.getAppointmentList()
|
|
},
|
|
},
|