修改问题
This commit is contained in:
@@ -251,9 +251,9 @@
|
||||
const pages = getCurrentPages()
|
||||
if (pages && pages.length > 0) {
|
||||
const firstPage = pages[0]
|
||||
if (pages.length == 1 && (!firstPage.route || firstPage.route != 'pages/index/index')) {
|
||||
if (pages.length == 1 && (!firstPage.route || firstPage.route != 'pages/index/index2')) {
|
||||
uni.reLaunch({
|
||||
url: '/pages/index/index'
|
||||
url: '/pages/index/index2'
|
||||
})
|
||||
} else {
|
||||
uni.navigateBack({
|
||||
@@ -262,7 +262,7 @@
|
||||
}
|
||||
} else {
|
||||
uni.reLaunch({
|
||||
url: '/pages/index/index'
|
||||
url: '/pages/index/index2'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user