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

增加图片下载授权判断,替换两个即将被废弃的canvas方法 #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yeyuying2018
Copy link

1、增加图片下载授权判断,判断如下:如果受过权直接执行生成图片的方法,如果拒绝了授权会弹窗提示授权用户可点击确认跳进授权页面进行授权,如果没有进行过授权则会调用微信内置授权方法。
2、增加图片下载生成状态的isCreating变量,1为生成中,0为已结束,防止用户生成中重复调用。
3、替换两个即将被废弃的canvas方法

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

Successfully merging this pull request may close these issues.

None yet

1 participant