xtraderClient/docs/components/WithdrawDialog.md
2026-02-14 18:59:36 +08:00

31 lines
698 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# WithdrawDialog.vue
**路径**`src/components/WithdrawDialog.vue`
## 功能用途
提现弹窗支持输入金额、选择网络、选择提现目标Connected wallet / Custom address
## Props
| 属性 | 类型 | 说明 |
|------|------|------|
| modelValue | boolean | v-model 控制显隐 |
| balance | string | 当前余额展示 |
## 事件
- `update:modelValue`:关闭时更新
## 使用方式
```vue
<WithdrawDialog v-model="withdrawDialogOpen" :balance="portfolioBalance" />
```
## 扩展方式
1. **真实提现**:对接提现接口,校验余额与地址
2. **手续费**:展示网络手续费与到账金额
3. **限额**:增加单笔/每日限额校验