var postsData = require("../../data/posts-data.js");Page({data: {autoplay: true,circular: true},onLoad: function (options) {this.data.post_key = postsData.postList //通過這種方式為什么傳遞不了數(shù)據(jù),但是換成//this.setData({post_key: postsData.postList})就沒問題,我數(shù)據(jù)沒問題的}})<block wx:for="{{post_key}}">
添加回答
舉報(bào)
0/150
提交
取消