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

报错了 不能用 #8

Open
E9KD opened this issue Sep 17, 2019 · 3 comments
Open

报错了 不能用 #8

E9KD opened this issue Sep 17, 2019 · 3 comments

Comments

@E9KD
Copy link

E9KD commented Sep 17, 2019

No description provided.

@zuohuadong
Copy link
Member

贴报错截图

@liyinchigithub
Copy link

ncaught TypeError: Cannot read property 'toDataURL' of null
at VueComponent.getCaptureImage (ScreenCapture.vue?2ecc:38)
at VueComponent.render (HelloWorld.vue?140d:66)
at invoker (vue.runtime.esm.js?2b0e:2023)
at HTMLHeadingElement.fn._withTask.fn._withTask (vue.runtime.esm.js?2b0e:1822)

@liyinchigithub
Copy link

@E9KD 缺少依赖
解决办法:
npm install html2canvas

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

3 participants