+@import "~antd/lib/button/style/index.css"; 引用antd的button組件 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 import * as React from 'react'; +// 使用antd的Button和ButtonProps +// 為了不和我們的Button沖突,需要改導(dǎo)出名 +import {Button as AntdButton, ButtonProps as AntdButton...
www.dbjr.com.cn/article/2496...htm 2025-6-7