Add toy form values
增加手办表单信息
This commit is contained in:
@@ -17,6 +17,7 @@ interface FormValue {
|
||||
type: number;
|
||||
desc: string;
|
||||
productId: string;
|
||||
link: string;
|
||||
}
|
||||
|
||||
const getInfo = async () => {
|
||||
@@ -127,6 +128,10 @@ function Toy() {
|
||||
<label htmlFor="productId">B 站产品 ID</label>
|
||||
<input {...bindInput("productId")} placeholder="B 站产品 ID" />
|
||||
</div>
|
||||
<div>
|
||||
<label htmlFor="link">手办维基链接</label>
|
||||
<input {...bindInput("link")} placeholder="https://www.hpoi.net/hobby/xxxxx" />
|
||||
</div>
|
||||
<div>
|
||||
<label htmlFor="desc">描述</label>
|
||||
<textarea {...bindInput("desc")} rows={5} placeholder="描述"></textarea>
|
||||
|
||||
Reference in New Issue
Block a user