Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue项目引入qscan报错 #2

Open
zhenghonglq opened this issue Jul 2, 2019 · 1 comment
Open

vue项目引入qscan报错 #2

zhenghonglq opened this issue Jul 2, 2019 · 1 comment

Comments

@zhenghonglq
Copy link

在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
| });
| });

@jgx-jay
Copy link
Contributor

jgx-jay commented Aug 29, 2019

hi 可以提供一下错误截图么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants