新手:调用外部JS插件tc-qrcode.min.js,报document错误,求大神指点

21:52:32.634/D: { ReferenceError: "document" is not defined.
at [remote]first.js:13037
at /android_asset/modules/bluebird.js:1043
at /android_asset/modules/bluebird.js:3446
at /android_asset/modules/bluebird.js:3031 (Promise)
at [remote]first.js:13036 (_0x1cb4da)
at [remote]first.js:131
fileName: '[remote]first.js', lineNumber: 13037 }

你这个是 H5 网页 用的 Document对象是HTML文档的根节点