json.push,与json.unshift提示is not a function
主要是处理,下拉与上拉刷新。
下拉,从顶部加入
上拉从底部加入。。。
有没有处理好的。。怎么处理的。谢谢??
mydata应该定义为数组.
mydata:[]
json 的定义是什么?
json对象呀。。
that.data.mydata;
mydata就是个json
page里的
data: {
mydata:{},
myuser: {},
usercheck:{},
thepages:0,
themaxid:null
//isloginok: app.globalData.isloginok
},
that.data.mydata.push(tmp)
提示not a function