mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-24 02:46:37 +08:00
feat: 添加充值记录按钮
This commit is contained in:
parent
0e06be8c3e
commit
280c63e1d4
@ -3,6 +3,8 @@ import {API, isMobile, showError, showInfo, showSuccess} from '../../helpers';
|
||||
import {renderNumber, renderQuota} from '../../helpers/render';
|
||||
import {Col, Layout, Row, Typography, Card, Button, Form, Divider, Space, Modal} from "@douyinfe/semi-ui";
|
||||
import Title from "@douyinfe/semi-ui/lib/es/typography/title";
|
||||
import Text from '@douyinfe/semi-ui/lib/es/typography/text';
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
const TopUp = () => {
|
||||
const [redemptionCode, setRedemptionCode] = useState('');
|
||||
@ -290,6 +292,15 @@ const TopUp = () => {
|
||||
</Space>
|
||||
</Form>
|
||||
</div>
|
||||
<div style={{ display: 'flex', justifyContent: 'right' }}>
|
||||
<Text>
|
||||
<Link onClick={
|
||||
async () => {
|
||||
window.location.href = '/topup/history'
|
||||
}
|
||||
}>充值记录</Link>
|
||||
</Text>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user