This commit is contained in:
zhangmanman
2021-07-14 10:08:28 +08:00
parent ba6b09db50
commit bc38362878
36 changed files with 481 additions and 7 deletions

View File

@@ -35,6 +35,20 @@ Page({
}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
// 判断是否由分享进入
if(options.parent_id !== ""){
// 写入缓存
wx.setStorage({
key : 'parentId',
data : options.parent_id
})
}
},
/**
* 生命周期函数--监听页面显示
*/