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
如题, 在:vue-vben-admin\src\views\demo\page\form\basic\data.ts
export const schemas: FormSchema[] = [ { field: 'title', defaultValue: '默认', //加上这句 component: 'Input', label: '标题', componentProps: { placeholder: '给目标起个名字', }, required: true, }, ......
在:vue-vben-admin\src\views\demo\page\form\basic\index.vue
const [register, { validate, setProps, setFieldsValue }] = useForm({ .... onMounted(() => { setFieldsValue({ title: null }); });
界面打开后,显示的是默认,而不是空
Ver 2.0.2
标题:
标题: 默认
The text was updated successfully, but these errors were encountered:
8f76ef4
No branches or pull requests
Subject of the issue
如题,
在:vue-vben-admin\src\views\demo\page\form\basic\data.ts
在:vue-vben-admin\src\views\demo\page\form\basic\index.vue
界面打开后,显示的是默认,而不是空
Your environment
Ver 2.0.2
Expected behaviour
标题:
Actual behaviour
标题: 默认
The text was updated successfully, but these errors were encountered: