We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0.0
Windows (64)
None
编辑修改提交后,点击新增时,显示的是刚才编辑的数据。
点击新增时,表单是空数据
点击新增时,表单是编辑时的数据
No response
async function handleSubmit() { const res = await form.validateFields(); // request await executeResActions(res, operateType); window.$message?.success(t('common.updateSuccess')); closeDrawer(); getData(); } 添加:form.resetFields(); ` async function handleSubmit() { const res = await form.validateFields(); // request await executeResActions(res, operateType);
async function handleSubmit() { const res = await form.validateFields(); // request await executeResActions(res, operateType); window.$message?.success(t('common.updateSuccess')); closeDrawer(); getData(); }
window.$message?.success(t('common.updateSuccess')); closeDrawer(); form.resetFields(); getData();
} `
The text was updated successfully, but these errors were encountered:
c4f1eb3
No branches or pull requests
软件版本
1.0.0
运行环境
Windows (64)
运行架构
None
重现步骤
编辑修改提交后,点击新增时,显示的是刚才编辑的数据。
期望的结果是什么?
点击新增时,表单是空数据
实际的结果是什么?
点击新增时,表单是编辑时的数据
日志记录(可选)
No response
补充说明(可选)
async function handleSubmit() { const res = await form.validateFields(); // request await executeResActions(res, operateType); window.$message?.success(t('common.updateSuccess')); closeDrawer(); getData(); }
添加:form.resetFields();
`
async function handleSubmit() {
const res = await form.validateFields();
// request
await executeResActions(res, operateType);
}
`
The text was updated successfully, but these errors were encountered: