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
guiMenu一个bug. #171
Comments
哦哦这里是我写错了。一开始guiMenu只是数组,后来加入了ctx支持,忘记改过来了。应该是不用一定要加ctx作为参数的,不过guiMenu依然应该是个函数,只不过不一定要用到ctx。之后我会修改这个部分。 |
|
guiApi以后会提供messagebox用于信息提醒或者二次确认,类似删除图片的时候弹出来的那个确认框 |
不错不错 |
开发计划可以参考project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题类型
bug
PicGo的相关信息
最新
问题重现
既然
guiMenu
是一个function
, 那就不应该拿guiMenu.length > 0
因为
guiMenu.length
返回的是方法参数的个数.此时
guiMenu.length === 0
, 会导致无法执行menu
目前解决方法只能是
还是说编写
guiMenu
参数一定要带ctx
呢? 这不太合理.The text was updated successfully, but these errors were encountered: