From 1b47afa6bf4c57604c4c3fcf01d4ec87581171e5 Mon Sep 17 00:00:00 2001 From: shirlwang <15254118591@163.com> Date: Sun, 10 May 2026 10:10:52 +0800 Subject: [PATCH] Refactor toPolicyDetail method in policyList component to accept item parameter - Updated the toPolicyDetail method to take an item argument, allowing for dynamic navigation to the policy detail page based on the selected item's ID. --- packageRc/pages/policy/policyList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packageRc/pages/policy/policyList.vue b/packageRc/pages/policy/policyList.vue index 6ff9fb0..450b982 100644 --- a/packageRc/pages/policy/policyList.vue +++ b/packageRc/pages/policy/policyList.vue @@ -278,7 +278,7 @@ export default { }, }, methods: { - toPolicyDetail() { + toPolicyDetail(item) { uni.navigateTo({ url: `/packageRc/pages/policy/policyDetail?id=${item.id}`, })