![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信小程序
不要再重复了
这个作者很懒,什么都没留下…
展开
-
uni编写微信小程序使用wx.startLocationUpdateBackground监听位置
需求:小程序退出或者微信在后时,实时获取当前位置manifest.json文件中需配置requiredBackgroundModes需设置:location。原创 2023-04-18 11:24:44 · 1538 阅读 · 0 评论 -
未找到 van-toast 节点,请确认 selector 及 context 是否正确
不行看一下json中是否引用组件:"usingComponents": { "van-toast": "@vant/weapp/toast/index" }js文件中import Toast from '../../miniprogram_npm/@vant/weapp/toast/toast';wxml中最外层写入代码:原创 2023-02-17 11:08:10 · 147 阅读 · 0 评论 -
微信小程序vantui安装及使用教程
3输入npm i @vant/weapp -S --production开始下载资源。4.2 修改 project.config.json添加配置。2输入npm init进行初始化项目,中途一直回车确认即可。出现is this ok?6使用,引入组件在app.json文件中。4.1将 app.json 中的。5点击工具选择构建npm包。1在文件终端打开cmd。原创 2023-02-13 11:00:47 · 818 阅读 · 0 评论 -
微信小程序多次跳转导致wx.navigateTo失效
实际开发小程序在A页面点击图片跳转到B页面,在B页面中填写完成又返回A页面,但是操作频繁,navigateTo失效。换成wx.redirectTo就好。原创 2022-11-04 10:06:31 · 708 阅读 · 0 评论