WeChat jssdk hiding menu problems in the upper right corner

Source: Internet
Author: User
You need to hide the menu in the upper-right corner of the Project. Refresh and share operations are prohibited on some pages. However, use jssdk to hide the top-right menu wx. hideOptionMenu ();, the problem occurs: (1) "... "still there, and then there are" Adjust font "," refresh "," Report ",... you need to hide the menu in the upper-right corner of the Project. Refresh and share operations are prohibited on some pages. However, the following error occurs:
(1) "... "It is still there. After opening it, there are" Adjust font "," refresh ", and" Report ", but I cannot refresh this page .. So it is not hidden ..
(2) When you link to another page, the menus in the upper-right corner of other pages are also affected. Only these three options are left. Isn't this setting just a page setting? Do I have to re-display the menu options on other pages one by one ???

Reply content:

You need to hide the menu in the upper-right corner of the Project. Refresh and share operations are prohibited on some pages. However, the following error occurs:
(1) "... "It is still there. After opening it, there are" Adjust font "," refresh ", and" Report ", but I cannot refresh this page .. So it is not hidden ..
(2) When you link to another page, the menus in the upper-right corner of other pages are also affected. Only these three options are left. Isn't this setting just a page setting? Do I have to re-display the menu options on other pages one by one ???

The test did not refresh the page. "adjust the font" and "report" are available.
If you want to disable refresh, You can implement it in the business process. It is not feasible to use menu restrictions.
Link to another page, and the menu will be re-authorized. In your usage, the answer is yes. You must ensure that every page has a JS re-authorization.

Only the non-basic button interface can be hidden

If you encounter the same problem, you can hide the menu in the upper-right corner of a page. Android is normal and all pages on IOS are hidden.
Have you solved this problem?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.