【bug】会议报名新增联系人 没有带出企业
This commit is contained in:
@@ -117,6 +117,9 @@ Page({
|
||||
// wx.navigateTo({
|
||||
// url: `../signUpPageGuoji/signUpPageGuoji?company=${selectedCompany}`,
|
||||
// })
|
||||
|
||||
|
||||
// 将上一个报名页面的企业回显
|
||||
prevPage.setData({
|
||||
'selectedCompany.companyName':e.currentTarget.dataset.company.companyName,
|
||||
'selectedCompany.id':e.currentTarget.dataset.company.id,
|
||||
@@ -142,10 +145,7 @@ Page({
|
||||
})
|
||||
}
|
||||
// 在选中企业后 将选中的企业信息存入缓存中 保证新建企业联系人的时候的回显 与参数传id
|
||||
// wx.setStorage({
|
||||
// key: 'selectedCompany',
|
||||
// data: selectedCompany
|
||||
// })
|
||||
wx.setStorageSync('selectedCompany', selectedCompany)
|
||||
} else {
|
||||
//这里是点击了取消以后
|
||||
}
|
||||
|
||||
@@ -178,7 +178,9 @@ Page({
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
wx.removeStorage({
|
||||
key: 'selectedCompany',
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user