第八课:表单提交 #10
Replies: 6 comments 6 replies
-
如果需要权限验证需要怎么定义useRequest呢?比如header里加token。直接加 headers:{token:"XXXXXX"}会被认为是跨域访问(不写headers就没问题)。 |
Beta Was this translation helpful? Give feedback.
-
我在表单提交的时候,报的错误,接口是调用成功的,老师您帮我分析一下 这个是什么问题? |
Beta Was this translation helpful? Give feedback.
-
const onCheck = async (uri: string, method: string) => { 老师,这里尝试用 form 得 validateFields,有效果,也方便 |
Beta Was this translation helpful? Give feedback.
-
index.tsx的return {ActionBuilder(column.actions)}; 报错,因为本章节修改了ActionBuilder增加了函数参数,在运行npm run lint时候无法正常通过: |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
本节学习手册:https://www.yuque.com/aspirantzhang/antdprov5/eg238b
本节代码
ca08b1d?branch=ca08b1d8645e0c0f09e3467165ffc450b421d96f&diff=split
请发与本节课有关的讨论。
Beta Was this translation helpful? Give feedback.
All reactions