Update back navigation to redirect to external URL in index and policyList pages

This commit is contained in:
2026-03-30 11:34:18 +08:00
parent 9c46b3996a
commit c2ae9467f9
2 changed files with 14 additions and 6 deletions

View File

@@ -149,9 +149,13 @@ let activeTab = ref(1)
let activeTitle = ref(1) let activeTitle = ref(1)
function back() { function back() {
uni.navigateBack({ // uni.navigateBack({
delta: 1 // delta: 1
}) // })
location.href='https://www.xjksly.cn/mechine-single-vue/'
// uni.reLaunch({
// url: '/pages/index/index'
// })
} }
onMounted(()=>{ onMounted(()=>{
getJobRecommed() getJobRecommed()

View File

@@ -206,9 +206,13 @@ export default {
]; ];
}, },
back() { back() {
uni.navigateBack({ // uni.navigateBack({
delta: 1 // delta: 1
}) // })
location.href='https://www.xjksly.cn/mechine-single-vue/'
// uni.reLaunch({
// url: '/pages/index/index'
// })
}, },
popupSearch(data) { popupSearch(data) {
// 获取此次提交前,旧的政策类型值 // 获取此次提交前,旧的政策类型值