删除index中多余的payment-button导出代码说明和引入
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// 导出支付相关组件
|
||||
export * from './payment-button'
|
||||
export * from './payment-modal'
|
||||
export * from './mobile-payment'
|
||||
export * from './desktop-payment'
|
||||
@@ -8,16 +7,6 @@ export * from './desktop-payment'
|
||||
// composites/
|
||||
// payment/
|
||||
// index.ts # 统一导出
|
||||
// payment-button.tsx # 支付按钮组件
|
||||
// payment-modal.tsx # 支付弹窗容器
|
||||
// mobile-payment.tsx # 移动端支付确认
|
||||
// desktop-payment.tsx # 桌面端支付确认
|
||||
// payment-status.tsx # 支付状态显示
|
||||
|
||||
// PaymentButton (点击)
|
||||
// ├─ 触发 onClick 创建订单
|
||||
// ├─ 成功后打开 PaymentModal
|
||||
// │ ├─ MobilePayment (移动端)
|
||||
// │ └─ DesktopPayment (桌面端)
|
||||
// └─ 支付成功 → onSuccess 回调
|
||||
// └─ 父组件执行后续逻辑
|
||||
|
||||
Reference in New Issue
Block a user