onLoad:
function (options) {
var that =
this;
if (options.id ==
'0') {
console.log(
'无传入值,不是经过扫码进入的。)
that.setData({
dyProfit: options.id
})
}
else
if (options.profit.length >
6) {
console.log(
'这里有值options.id')
console.log(options.id)
that.setData({
dyProfit: options.id.replace(/\'/g,
"")
})
}
}