摘要: html: <Button type="link" onClick={HandleSubmit} disabled={disableFlag}>{linkText}</Button> 变量定义: const [disableFlag, setDisable] = useState<boolean>( 阅读全文
posted @ 2022-06-28 13:11 Shapley 阅读(910) 评论(0) 推荐(0) 编辑