Mini Program's data transfer problem

var postsData = require (".. /.. / data/posts-data.js");

Page ({
data: {

)
autoplay: true,
circular: true

},
onLoad: function (options) {

this.data.post_key = postsData.postList //,
//this.setData({post_key: postsData.postList})
}

})

<block wx:for="{{post_key}}">

document is written in bold

directly modifying this.data without calling this.setData cannot change the state of the page, and it will cause data inconsistency.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30ab8-2bd36.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30ab8-2bd36.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?