修复Salon对象存储头像展示
This commit is contained in:
@@ -44,6 +44,10 @@ Page({
|
||||
wx.navigateTo({ url: `${event.currentTarget.dataset.url}?id=${this.data.id}` })
|
||||
},
|
||||
|
||||
onAvatarError() {
|
||||
this.setData({ 'employee.avatar': '' })
|
||||
},
|
||||
|
||||
back() {
|
||||
wx.navigateBack()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user