miniprogram-demo icon indicating copy to clipboard operation
miniprogram-demo copied to clipboard

微信小程序组件 / API / 云开发示例

Results 86 miniprogram-demo issues
Sort by recently updated
recently updated
newest added

不太理解https://github.com/wechat-miniprogram/miniprogram-demo/blob/master/miniprogram/packageAPI/pages/ar/plane-ar-v2/behavior.js里面的页面卸载逻辑,里面有很多内置对象如_texture、_tempTexture,在代码里没有出现过,为什么要做判断和释放的处理。我在项目里遇到内存无法释放的问题,但是无法找到类似_texture、_tempTexture这样的变量,不知道是在哪生成的

![image](https://github.com/wechat-miniprogram/miniprogram-demo/assets/108812315/fa0b8014-8628-4d78-8d1a-9c6e02d39212) 还有一个错误是这个 ![image](https://github.com/wechat-miniprogram/miniprogram-demo/assets/108812315/637094a7-4a24-4687-8c0d-f00fd83b749b) 我真的裂开,跑不起来

![image](https://github.com/wechat-miniprogram/miniprogram-demo/assets/20937135/3b3e088c-f675-414c-97ae-b1f0d8477644)

如下图所示,问题在哪里呢? 图1 手机截图 ![1](https://github.com/wechat-miniprogram/miniprogram-demo/assets/32085657/8a667fc1-3866-4480-a884-8c908333b510) 图2:手机截图 ![2](https://github.com/wechat-miniprogram/miniprogram-demo/assets/32085657/0d96ebcf-b634-4af3-bc46-10611a95aadb) 图3 真机模拟截图 ![3](https://github.com/wechat-miniprogram/miniprogram-demo/assets/32085657/47b66fe6-51f7-467b-a18e-a579614c09be) 图四真机模拟截图 ![4](https://github.com/wechat-miniprogram/miniprogram-demo/assets/32085657/bb0e433d-4913-4521-b0f4-116c4e91d14d)

1.修改配置:pageage.json里的 "@tencent/eslint-config-wxapp": "^0.5.2" 改为 "eslint-config-wxapp": "^1.0.0" 2.npm install --legacy-peer-deps 3.npm run init --legacy-peer-deps 4.完成上述步骤后,使用微信开发者工具,点击【工具-构建npm】 感谢评论区各位大佬,内容都取自issues区,在这不一一列出,希望后面遇到相同问题的朋友可以参考

折叠屏手机展开,打开小程序示例demo正式版是全屏展示的,效果很好。 然而拉了代码,用开发版或者体验版无法全屏展示,左右两边有空白。 请问什么原因导致的?

derived 的参数需要使用 WorkletFunction 类型

```json { "pagePath": "page/component/index", "iconPath": "@iconPathComponent", "selectedIconPath": "@selectedIconPathComponent", "text": "组件" }, { "pagePath": "page/animation/index", "iconPath": "@iconPathComponent", "selectedIconPath": "@selectedIconPathComponent", "text": "交互动画" }, { "pagePath": "page/API/index", "iconPath": "@iconPathAPI", "selectedIconPath": "@selectedIconPathAPI", "text": "接口"...