this.setData({})写在setTimeout里面会报错,为什么哈发布于 7 年前作者 xiulandeng3121 次浏览最后编辑 7 年前来自 asksetTimeout(function(){ this.setData({ hasUserInfo: true }) },1000)