物理返回键

This commit is contained in:
2024-05-16 14:06:02 +08:00
parent 8f0b8ef548
commit cdd76b8a86

View File

@@ -46,6 +46,13 @@
created () { created () {
// this._virtualprintType() // this._virtualprintType()
}, },
onBackPress(options) {
if (options.from === 'backbutton') {
uni.redirectTo({
url: '/pages/login/login'
})
}
},
methods: { methods: {
goIn () { goIn () {
uni.redirectTo({ uni.redirectTo({