fix: 修改提示
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m9s

This commit is contained in:
luo
2026-07-30 16:05:48 +08:00
parent 93ed3fbd63
commit 055fed0cf1
8 changed files with 82 additions and 60 deletions

View File

@@ -338,13 +338,11 @@
const isPlatformAccount = computed(() => [1, 2].includes(Number(userStore.info.user_type)))
const canViewRecharge = computed(() => [1, 2, 3].includes(Number(userStore.info.user_type)))
const canCreateRecharge = computed(() => isAgentAccount.value || isPlatformAccount.value)
const createMode = ref<'online' | 'offline'>('offline')
const createMode = ref<'online' | 'offline'>(isAgentAccount.value ? 'online' : 'offline')
const createDialogTitle = computed(() =>
createMode.value === 'online' ? '代理钱包在线扫码充值' : '创建平台线下代充'
)
const createButtonLabel = computed(() =>
createMode.value === 'online' ? '立即充值' : '创建充值订单'
)
const createButtonLabel = computed(() => (isAgentAccount.value ? '立即充值' : '创建充值订单'))
const loading = ref(false)
const createLoading = ref(false)