-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
在vue中通过npm install qscan --save-dev后,
在页面中通过如下方式引入qscan
const QScan = require('qscan');
const scan = new QScan({
// model 配置
modelOpts: {
'wx-default': { // model 名称
udid: 'HICMHMZTTW8DFI59', // 安卓设备 id,通过 adb service 命令查看
port: '4723', // 端口号
opts: {
user: 'xxx', // 微信用户名
pass: 'xxx' // 微信密码
}
}
}
});
运行后报错:
You may need an appropriate loader to handle this file type.
| this.loadModel({
| model,
| ...opts
| });
| });
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels