fix(credits): align asset actions and withdrawal settings
Use matching outlined controls on the points card and manage the balance-withdrawal switch exclusively from the withdrawal settings page.
This commit is contained in:
1 parent
1247f9bf4e
commit
179d577d28
4 files changed
+14
-23
No files matched your search
@@ -25,7 +25,6 @@ export const rechargeSchema = {
|
||||
pay_balance_points_exchange_min_points: 100,
|
||||
pay_balance_points_exchange_daily_max_points: 100000,
|
||||
pay_balance_points_exchange_desc: '',
|
||||
pay_balance_withdraw_s: false,
|
||||
},
|
||||
groups: [
|
||||
{
|
||||
@@ -91,13 +90,5 @@ export const rechargeSchema = {
|
||||
{ key: 'pay_balance_points_exchange_desc', label: '兑换说明', type: 'textarea', default: '', dependsOn: { key: 'pay_balance_points_exchange_s', value: true } },
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'withdraw',
|
||||
title: '余额提现',
|
||||
icon: 'fas fa-hand-holding-usd',
|
||||
fields: [
|
||||
{ key: 'pay_balance_withdraw_s', label: '启用余额提现', type: 'switch', default: false, dependsOn: { key: 'pay_balance_s', value: true } },
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in new issue
Block a user