Refactor navigation redirection in index and policyList pages to use parent method for external URL
This commit is contained in:
@@ -152,7 +152,9 @@ function back() {
|
||||
// uni.navigateBack({
|
||||
// delta: 1
|
||||
// })
|
||||
window.location.href='https://www.xjksly.cn/mechine-single-vue/'
|
||||
// window.location.href='https://www.xjksly.cn/mechine-single-vue/'
|
||||
window.parent.changeParentLocation("https://www.xjksly.cn/mechine-single-vue/");
|
||||
|
||||
// uni.reLaunch({
|
||||
// url: '/pages/index/index'
|
||||
// })
|
||||
|
||||
@@ -209,7 +209,9 @@ export default {
|
||||
// uni.navigateBack({
|
||||
// delta: 1
|
||||
// })
|
||||
window.location.href='https://www.xjksly.cn/mechine-single-vue/'
|
||||
// window.location.href='https://www.xjksly.cn/mechine-single-vue/'
|
||||
window.parent.changeParentLocation("https://www.xjksly.cn/mechine-single-vue/");
|
||||
|
||||
// uni.reLaunch({
|
||||
// url: '/pages/index/index'
|
||||
// })
|
||||
|
||||
Reference in New Issue
Block a user