方法一 在函数中修改person中age的值,先拿到person,然后设置person.age的值,最后在setData方法中重新设置person Page({ data: { person: { "name": "人", "age": 20 } }, onLoad: