1、小程序文件: app.js文件中 setting属性添加resizable:true
2、resizable属性设置为true,目前只有发布的PC小程序生效,开发版和体验版后续支持。
3、下面图片的链接,和文档解释
链接: https://developers.weixin.qq.com/community/develop/doc/00064c5c064290491d0a6efb951000
参考微信文档:
链接: https://developers.weixin.qq.com/miniprogram/dev/reference/configuration/app.html.