From 17336d42e38798b0289029e84271d1433ea21080 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 09 六月 2025 14:26:40 +0800 Subject: [PATCH] feat: 接口 --- apps/taro/src/subpackages/my/applyAgent/applyAgent.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue index 66c9529..232af4e 100644 --- a/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue +++ b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue @@ -4,15 +4,15 @@ <ApplyAgentView @submit="submit" ref="applyAgentViewRef" /> </ContentScrollView> <PageFooter> - <PageFooterBtn type="primary" @click="handleSubmit">鎻愪氦鐢宠</PageFooterBtn> + <PageFooterBtn type="primary" @click="handleSubmit">绔嬪嵆鎻愪氦</PageFooterBtn> </PageFooter> </PageLayout> </template> <script setup lang="ts"> import { PageLayout } from '@/components'; +import { RouterPath } from '@/constants'; import { ApplyAgentView } from '@life-payment/components'; -import { goBack } from '@/utils'; import type { ComponentExposed } from 'vue-component-type-helpers'; defineOptions({ @@ -26,7 +26,9 @@ applyAgentViewRef.value?.handleSubmit?.(); } -function submit() { - goBack(); +function submit(value: string) { + RouteHelper.navigateTo({ + url: `${RouterPath.applyResult}?promoterIdNumber=${value}`, + }); } </script> -- Gitblit v1.9.1