|
|
|
@ -12,6 +12,7 @@ Scene({ |
|
|
|
* 页面的初始数据 |
|
|
|
*/ |
|
|
|
data: { |
|
|
|
safeBottom: app.globalData.safeBottom, |
|
|
|
agent: 0, |
|
|
|
id: null, |
|
|
|
form: null, |
|
|
|
@ -61,7 +62,7 @@ Scene({ |
|
|
|
imageList.push({url: result.data.orderImageList[index]}) |
|
|
|
} |
|
|
|
} |
|
|
|
this.setData({ form: result.data, admin: app.userInfo.type && app.userInfo.type.indexOf('ADMIN') >= 0, agent: this.data.agent, imageList }) |
|
|
|
this.setData({ form: result.data, admin: app.userInfo.type && app.userInfo.type.indexOf('ADMIN') >= 0, agent: this.data.agent, imageList,safeBottom: app.globalData.safeBottom }) |
|
|
|
}).catch(err => { |
|
|
|
wx.hideLoading() |
|
|
|
util.showToast(err) |
|
|
|
|