请问小程序 支持不同类型的变量互相赋值么?发布于 7 年前作者 yanyu8409 次浏览最后编辑 7 年前来自 ask如: var a = this.data.a //data中a 为 1 if(a == 1){ this.setData({ a : A }) } 求帮助