This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user