利用uniapp开发,如何实现关闭当前页面?下面web建站小编给大家简单介绍几种方法!
利用uni.navigateBack方法
uni.navigateBack({
delta: 1,
animationType: 'pop-out',
animationDuration: 200
});
利用uni.reLaunch方法
uni.reLaunch({
url: '/pages/index/index',
animationType: 'pop-out',
animationDuration: 200
})
Lime UI官网使用入口,一款基于uniapp的移动端组件库
uni.request报"request:fail url not found"错误是什么原因
上面是“uniapp关闭当前页面的几种方法”的全面内容,想了解更多关于 前端知识 内容,请继续关注web建站教程。
当前网址:https://ipkd.cn/webs_4099.html
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!

如何在Git中暂存和恢复暂存中的文件? 













