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
Vben Admin V5
国际化翻译Bug,切换语言时,查询表单的查询按钮语言没变
const [Form, formApi] = useTableForm({ handleSubmit: async () => { const formValues = formApi.form.values; formApi.setLatestSubmissionValues(toRaw(formValues)); props.api.reload(formValues); }, handleReset: async () => { await formApi.resetForm(); const formValues = formApi.form.values; formApi.setLatestSubmissionValues(formValues); props.api.reload(formValues); }, commonConfig: { componentProps: { class: 'w-full', }, }, showCollapseButton: true, submitButtonOptions: { content: $t('common.query'), }, // enter提交 submitOnEnter: true, wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3', });
Windows Edge
No response
The text was updated successfully, but these errors were encountered:
https://www.vben.pro/#/examples/vxe-table/form
Sorry, something went wrong.
厉害啊,这都能发现
您好,还是有点问题,现在在单独页面翻译没问题了,但是我切换到其他带有搜索表单的Tab菜单时,另一个搜索表单的搜索按钮还是没切换过来,我是后端佬,这个项目对我难度比较大,没有修复的能力
Successfully merging a pull request may close this issue.
Version
Vben Admin V5
Describe the bug?
国际化翻译Bug,切换语言时,查询表单的查询按钮语言没变
Reproduction
const [Form, formApi] = useTableForm({
handleSubmit: async () => {
const formValues = formApi.form.values;
formApi.setLatestSubmissionValues(toRaw(formValues));
props.api.reload(formValues);
},
handleReset: async () => {
await formApi.resetForm();
const formValues = formApi.form.values;
formApi.setLatestSubmissionValues(formValues);
props.api.reload(formValues);
},
commonConfig: {
componentProps: {
class: 'w-full',
},
},
showCollapseButton: true,
submitButtonOptions: {
content: $t('common.query'),
},
// enter提交
submitOnEnter: true,
wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3',
});
System Info
Relevant log output
No response
Validations
The text was updated successfully, but these errors were encountered: