物理返回键
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user