更新版本库
This commit is contained in:
@ -0,0 +1,24 @@
|
||||
import TabPane from '@ant-design/pro-card/lib/components/TabPane';
|
||||
import { Card, Tabs } from 'antd';
|
||||
import React from 'react';
|
||||
import AlreadyConfirmed from './components/AlreadyConfirmed';
|
||||
import WaitConfirmed from './components/WaitConfirmed';
|
||||
|
||||
const RevenueRecognition: React.FC<{}> = () => {
|
||||
function callback(key: any) {
|
||||
console.log(key);
|
||||
}
|
||||
return (
|
||||
<Card bodyStyle ={{padding: "0px 24px"}}>
|
||||
<Tabs defaultActiveKey="1" onChange={callback}>
|
||||
<TabPane tab="待确认" key="1">
|
||||
<WaitConfirmed />
|
||||
</TabPane>
|
||||
<TabPane tab="已确认" key="2">
|
||||
<AlreadyConfirmed />
|
||||
</TabPane>
|
||||
</Tabs>
|
||||
</Card>
|
||||
);
|
||||
};
|
||||
export default RevenueRecognition;
|
Reference in New Issue
Block a user