From c2ae9467f981d8c1f34c1cb4f82f6500fdb6f1fa Mon Sep 17 00:00:00 2001 From: shirlwang <15254118591@163.com> Date: Mon, 30 Mar 2026 11:34:18 +0800 Subject: [PATCH] Update back navigation to redirect to external URL in index and policyList pages --- packageRc/pages/index/index.vue | 10 +++++++--- packageRc/pages/policy/policyList.vue | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/packageRc/pages/index/index.vue b/packageRc/pages/index/index.vue index baaa7b3..c169bdb 100644 --- a/packageRc/pages/index/index.vue +++ b/packageRc/pages/index/index.vue @@ -149,9 +149,13 @@ let activeTab = ref(1) let activeTitle = ref(1) function back() { - uni.navigateBack({ - delta: 1 - }) + // uni.navigateBack({ + // delta: 1 + // }) + location.href='https://www.xjksly.cn/mechine-single-vue/' + // uni.reLaunch({ + // url: '/pages/index/index' + // }) } onMounted(()=>{ getJobRecommed() diff --git a/packageRc/pages/policy/policyList.vue b/packageRc/pages/policy/policyList.vue index 48d26a1..0e561c3 100644 --- a/packageRc/pages/policy/policyList.vue +++ b/packageRc/pages/policy/policyList.vue @@ -206,9 +206,13 @@ export default { ]; }, back() { - uni.navigateBack({ - delta: 1 - }) + // uni.navigateBack({ + // delta: 1 + // }) + location.href='https://www.xjksly.cn/mechine-single-vue/' + // uni.reLaunch({ + // url: '/pages/index/index' + // }) }, popupSearch(data) { // 获取此次提交前,旧的政策类型值