page的data里的属性是动态的怎样拿到值?发布于 7 年前作者 fsu16158 次浏览最后编辑 7 年前来自 asklet attr = aKey_0; this.setData({ [attr]:22 }) 怎样在wxml中拿到[attr]的值?attr 的值是不固定的,可能是 aKey_0、 aKey_1、 aKey_22