Setting data field “ts” to undefined is invalid.
出现这样的提示,怎么解决??
var n = t.come,
o = t.ts
if (a.setData({
come: n,
ts: o
}), “续费” == n && (wx.setNavigationBarTitle({
title: “续费中心”
}), “sj” == o ? a.getSjrzsj() : a.getJsrzsj()), “充值” == n) {
wx.setNavigationBarTitle({
title: “充值中心”
});
var i = t.h_id;
a.getHuiyuanxq(i)
}
if (“服务” == n) {
wx.setNavigationBarTitle({
title: “服务订单中心”
});
var s = t.o_id,
r = t.dd;
a.setData({
dd: r
}), a.getOrderfuxq(s)
}
if (“jsyyorder” == n) {
wx.setNavigationBarTitle({
title: “收银台”
});
s = t.o_id;
a.getOrderishiyuyuexq(s)
}