data数据: data: { assets: null } setData方法,使用["对象.属性"]的方式来更新某个属性的值。 this.setData({ ["assets.diamonds"]: diamonds }); 相关文章: