vue3 遍历form表单时,如何让填写的内容一样? const formState = reactive({ studentId: undefined, coachId: undefined, contractId: undefined, startDate: '', startTime: '', endDate: '', endTime: '', memo: '', }); const formList = ref([formState]); 添加form const addForm = () => { formList.value.push(formState); }; https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20240916/e208cd2e76905baf2fafbc348c00a59b.png https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20240916/d746e690cf240e914aa3ce9801844eb6.png 求大佬们指导?
antd,form中怎么用react获取多个input的ref?难道要一个一个创建useRef,然后给input吗? 有没有统一给form里面的所有控件创建ref,然后通过某个关键字获取相应input的ref
form表单请求,叫做HTTP的什么? HTTP请求方式吗?应该不是:HTTP的请求方式是GET,POST,PUT等。 没有找到答案
form.getFieldValue返回的值不是响应式的吗? "34d79ad4636b4612b15e2b7bca19926.png" (https://wmlx-new-image.oss-cn-shanghai.aliyuncs.com/images/20241108/c6f089b1ea289a60339734ff7e5f5431.png) react新手, 请问在页面改变了radio的值, 但是第一行代码对应的内容在页面上为什么不发生变化