- jsBridge.scan({
- needResult: true,
- }, function (code) {
- if (code) {
- location.href = "http://www.applebyme.cn/ceshi&code=
- " + encodeURIComponent(code);
- }
- });
- 写法参考:
- jsBridge.scan({
- needResult: true
- }, function(code) {
- if (code) {
- location.href = code;
- }
- });
复制代码
|