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

关于一级菜单按钮为什么必须至少为2个! #48

Closed
songshch opened this issue Sep 2, 2014 · 7 comments
Closed

关于一级菜单按钮为什么必须至少为2个! #48

songshch opened this issue Sep 2, 2014 · 7 comments

Comments

@songshch
Copy link

songshch commented Sep 2, 2014

关于一级菜单按钮为什么必须至少为2个!

@JeffreySu
Copy link
Owner

最早的时候官方有这个限制,现在已经取消了。

@liubiqu
Copy link
Contributor

liubiqu commented Sep 10, 2014

对,现在一个也是允许的

@JeffreySu
Copy link
Owner

我记得代码里面已经取消了,哪里还有不对的吗?

@songshch
Copy link
Author

我下载最新的看下,可能版本有点老。应该是八月下的代码。

发自我的小米手机

Jeffrey Su notifications@github.com编写:

我记得代码里面已经取消了,哪里还有不对的吗?


Reply to this email directly or view it on GitHub.

{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Issue on GitHub","action":{"@type":"ViewAction","url":"https://github.com/JeffreySu/WeiXinMPSDK/issues/48#issuecomment-56264034","name":"View Issue"}}

@songshch
Copy link
Author

CommonAPIs / CommonApi.Menu.cs 的 GetMenuFromJsonResult方法
第269行
if (bg.button.Count < 2)
{
throw new WeixinMenuException("一级菜单按钮至少为2个!");
}

@JeffreySu
Copy link
Owner

已修改,谢谢!

@songshch
Copy link
Author

谢谢修改。

发自我的小米手机

Jeffrey Su notifications@github.com编写:

已修改,谢谢!


Reply to this email directly or view it on GitHub.

{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Issue on GitHub","action":{"@type":"ViewAction","url":"https://github.com/JeffreySu/WeiXinMPSDK/issues/48#issuecomment-57073912","name":"View Issue"}}

JeffreySu pushed a commit that referenced this issue Jul 10, 2022
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