工作台代码提交
This commit is contained in:
@@ -20,7 +20,17 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
console.log("options", options)
|
||||
const { park, parkName, name, id } = options
|
||||
this.setData({
|
||||
park,
|
||||
parkName,
|
||||
tenementName: name,
|
||||
tenement: id
|
||||
})
|
||||
if (id) {
|
||||
this.getTenementInfo();
|
||||
}
|
||||
},
|
||||
onParkFocus(e) {
|
||||
this.setData({
|
||||
|
||||
Reference in New Issue
Block a user