feat: 更新收款账户添加按钮的路由,从 '/bank_accounts/add' 改为 '/payment/add'

This commit is contained in:
2026-01-22 21:46:14 +07:00
parent a21ef1ebcc
commit 0be8edd0a5
2 changed files with 2 additions and 1 deletions

1
auto-imports.d.ts vendored
View File

@@ -451,6 +451,7 @@ declare module 'vue' {
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
readonly showSuccessToast: UnwrapRef<typeof import('vant/es')['showSuccessToast']>
readonly showToast: UnwrapRef<typeof import('vant/es')['showToast']>
readonly storeToRefs: UnwrapRef<typeof import('pinia')['storeToRefs']>
readonly syncRef: UnwrapRef<typeof import('@vueuse/core')['syncRef']>

View File

@@ -255,7 +255,7 @@ function goToRecords() {
<div v-if="bankAccounts?.data?.length === 0" class="empty-state">
<empty title="暂无收款账户">
<template #extra>
<ion-button size="small" @click="router.push('/bank_accounts/add')">
<ion-button size="small" @click="router.push('/payment/add')">
添加收款账户
</ion-button>
</template>