Merge branch 'master' into feature-merge-master

This commit is contained in:
栗嘉男 2023-08-20 21:07:24 +08:00
commit 7fe4d4e844
4 changed files with 16 additions and 16 deletions

View File

@ -182,7 +182,7 @@ const Header: React.FC = () => {
closable: true,
zIndex: 99999,
onOk() {
window.open('https://ant-design.antgroup.com', '_self');
window.location.host = 'ant-design.antgroup.com';
disableAntdMirrorModal();
},
onCancel() {

View File

@ -26,27 +26,27 @@ const App: React.FC = () => {
animated={{ inkBar, tabPane }}
items={[
{
label: `Bamboo`,
label: 'Bamboo',
key: '1',
children: `Hello Bamboo!`,
children: 'Hello Bamboo!',
style: {
height: 200,
boxShadow: '0 0 3px rgba(255, 0, 0, 0.5)',
},
},
{
label: `Little`,
label: 'Little',
key: '2',
children: `Hi Little!`,
children: 'Hi Little!',
style: {
height: 300,
boxShadow: '0 0 3px rgba(0, 255, 0, 0.5)',
},
},
{
label: `Light`,
label: 'Light',
key: '3',
children: `Welcome Light!`,
children: 'Welcome Light!',
style: {
height: 100,
boxShadow: '0 0 3px rgba(0, 0, 255, 0.5)',

View File

@ -9,18 +9,18 @@ const onChange = (key: string) => {
const items: TabsProps['items'] = [
{
key: '1',
label: `Tab 1`,
children: `Content of Tab Pane 1`,
label: 'Tab 1',
children: 'Content of Tab Pane 1',
},
{
key: '2',
label: `Tab 2`,
children: `Content of Tab Pane 2`,
label: 'Tab 2',
children: 'Content of Tab Pane 2',
},
{
key: '3',
label: `Tab 3`,
children: `Content of Tab Pane 3`,
label: 'Tab 3',
children: 'Content of Tab Pane 3',
},
];

View File

@ -38,17 +38,17 @@ const App: React.FC = () => {
const [items, setItems] = useState([
{
key: '1',
label: `Tab 1`,
label: 'Tab 1',
children: 'Content of Tab Pane 1',
},
{
key: '2',
label: `Tab 2`,
label: 'Tab 2',
children: 'Content of Tab Pane 2',
},
{
key: '3',
label: `Tab 3`,
label: 'Tab 3',
children: 'Content of Tab Pane 3',
},
]);