Commit 72f454d7 authored by jiaxu.yan's avatar jiaxu.yan

feat: 去掉备注的必填校验

parent d5919a4a
...@@ -35,7 +35,6 @@ const dashboard: AppRouteModule = { ...@@ -35,7 +35,6 @@ const dashboard: AppRouteModule = {
title: '项目库', title: '项目库',
}, },
}, },
], ],
}; };
......
...@@ -214,7 +214,7 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen ...@@ -214,7 +214,7 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 100, maxlength: 100,
......
...@@ -399,7 +399,7 @@ export const formSchema: FormSchema[] = [ ...@@ -399,7 +399,7 @@ export const formSchema: FormSchema[] = [
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 100, maxlength: 100,
......
...@@ -254,7 +254,7 @@ export const formSchema: FormSchema[] = [ ...@@ -254,7 +254,7 @@ export const formSchema: FormSchema[] = [
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 100, maxlength: 100,
......
...@@ -407,7 +407,7 @@ export const Content: FormSchema[] = [ ...@@ -407,7 +407,7 @@ export const Content: FormSchema[] = [
//remark //remark
label: '备注', label: '备注',
field: 'remark', field: 'remark',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 100, maxlength: 100,
......
...@@ -185,7 +185,7 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen ...@@ -185,7 +185,7 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
{ {
label: '备注', label: '备注',
field: 'remarks', field: 'remarks',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 100, maxlength: 100,
......
...@@ -237,7 +237,7 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen ...@@ -237,7 +237,7 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
{ {
label: '备注', label: '备注',
field: 'remarks', field: 'remarks',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 100, maxlength: 100,
......
...@@ -231,7 +231,7 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen ...@@ -231,7 +231,7 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
{ {
label: '备注', label: '备注',
field: 'remarks', field: 'remarks',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 100, maxlength: 100,
......
...@@ -207,7 +207,7 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen ...@@ -207,7 +207,7 @@ export const formSchema: ({ colProps: { offset: number; span: number }; componen
{ {
label: '备注', label: '备注',
field: 'remarks', field: 'remarks',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 300, maxlength: 300,
......
...@@ -62,7 +62,7 @@ export const formSchema: FormSchema[] = [ ...@@ -62,7 +62,7 @@ export const formSchema: FormSchema[] = [
{ {
field: 'remark', field: 'remark',
label: '备注', label: '备注',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 100, maxlength: 100,
......
...@@ -442,7 +442,7 @@ export const formSchema1: FormSchema[] = [ ...@@ -442,7 +442,7 @@ export const formSchema1: FormSchema[] = [
{ {
label: '备注', label: '备注',
field: 'completionRemarks', field: 'completionRemarks',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 100, maxlength: 100,
...@@ -680,7 +680,7 @@ export const formSchema2: FormSchema[] = [ ...@@ -680,7 +680,7 @@ export const formSchema2: FormSchema[] = [
{ {
label: '备注', label: '备注',
field: 'completionRemarks', field: 'completionRemarks',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 100, maxlength: 100,
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
{ {
field: 'remarks', field: 'remarks',
label: '备注内容', label: '备注内容',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 300, maxlength: 300,
......
...@@ -107,7 +107,7 @@ export const formSchema: FormSchema[] = [ ...@@ -107,7 +107,7 @@ export const formSchema: FormSchema[] = [
label: '备注', label: '备注',
labelWidth: '140px', labelWidth: '140px',
field: 'remark', field: 'remark',
required: true, // required: true,
component: 'Input', component: 'Input',
}, },
]; ];
......
...@@ -384,7 +384,7 @@ export const formSchema: FormSchema[] = [ ...@@ -384,7 +384,7 @@ export const formSchema: FormSchema[] = [
//remark //remark
label: '备注', label: '备注',
field: 'remark', field: 'remark',
required: true, // required: true,
component: 'InputTextArea', component: 'InputTextArea',
componentProps: { componentProps: {
maxlength: 100, maxlength: 100,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment