|

楼主 |
发表于 2018-6-14 09:46:35
|
显示全部楼层
才看到。。
对于你的问题,这是我写的代码,希望能对你有所帮助:
var self = this;
var pl_informat = this.comp("pl_informat");
scan.scanQRCode({
needResult : 1,
desc : 'scanQRCode desc',
success : function(res) {
var no = res.resultStr + "";
justep.Shell.showPage("saomaActivity.w", {
data : {
fID : res.resultStr + "",
fPL_PHONE : self.comp("pl_informat").getValue("fPL_PHONE")
}
});
},
fail : function(res) {
alert("fail:" + JSON.stringify(res));
}
});
|
|