Commit 670a8e8ae016c1ed64c5f37b891d36ab1a805714

Authored by vking
1 parent 08e5aa5c

online

Showing 1 changed file with 6 additions and 4 deletions
... ... @@ -23,10 +23,12 @@ Page({
*/
onLoad: function (options) {
App.Customer.GetCustomerInfo().then(res=>{
this.user = res.data
this.setData({
user: res.data,
})
if(res.data){
this.user = res.data
this.setData({
user: res.data,
})
}
})
},
... ...