In debug mode, no error is reported for all operations, and the status is & #039; OK & #039; the page cannot be displayed when the user jumps to the page through snsapi_base authentication. & quot; check whether there are other invisible restrictions on the public account & quot; button display? {Code...} In debug mode, no error is reported for all operations. The status is 'OK'
The user jumps to the page through web page authentication snsapi_base
The "view public account" button is always unavailable
Check whether there are other invisible restrictions on the Public Account button?
js
Wx. config ({debug: true, // enable the debug mode appId: '{$ appID}', timestamp: '{$ timestamp}', nonceStr: '{$ nonceStr }', signature: '{$ signature}', jsApiList: ['hidemenuitems ', 'showmenuitems', 'onmenusharetimeline', 'onmenushareappmessage']});
Wx. ready (function () {wx. showMenuItems ({menuList: ['menuitem: profile ', // Add the public account 'menuitem: addcontact']});
Reply content:
No error is reported for all operations in debug mode. The status is 'OK'
The user jumps to the page through web page authentication snsapi_base
The "view public account" button is always unavailable
Check whether there are other invisible restrictions on the Public Account button?
js
Wx. config ({debug: true, // enable the debug mode appId: '{$ appID}', timestamp: '{$ timestamp}', nonceStr: '{$ nonceStr }', signature: '{$ signature}', jsApiList: ['hidemenuitems ', 'showmenuitems', 'onmenusharetimeline', 'onmenushareappmessage']});
Wx. ready (function () {wx. showMenuItems ({menuList: ['menuitem: profile ', // Add the public account 'menuitem: addcontact']});
Check whether your public account has permissions.
Http://github.com/thenbsp/Wechat