Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄庭坚
jinfa-platform
Commits
7a9bbec3
Commit
7a9bbec3
authored
Jan 07, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复 requied 写在外部失效的问题
parent
84db6afe
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
7 deletions
+21
-7
index.ts
...ges/afterService/components/FinishedModal/schema/index.ts
+3
-1
index.ts
...pages/afterService/components/VerifyModal/schema/index.ts
+3
-1
schema.ts
src/pages/member/components/VerifyModal/schema.ts
+3
-1
index.ts
...gClassify/components/ComingClassifyDrawer/schema/index.ts
+3
-1
schema.ts
...tigate/components/VerifyComingInvestigateDrawer/schema.ts
+3
-1
schema.ts
...ngAbility/merchantCoupon/components/VerifyModal/schema.ts
+3
-1
schema.tsx
...upon/merchantCouponQuery/components/ReasonForm/schema.tsx
+3
-1
No files found.
src/pages/afterService/components/FinishedModal/schema/index.ts
View file @
7a9bbec3
...
...
@@ -31,13 +31,15 @@ export const auditModalSchema: ISchema = {
type
:
'string'
,
title
:
intl
.
formatMessage
({
id
:
'afterService.components.FinishedModal.content'
},
{
default
:
'售后评价'
}),
'x-component'
:
'textarea'
,
required
:
true
,
'x-component-props'
:
{
placeholder
:
intl
.
formatMessage
({
id
:
'afterService.components.FinishedModal.content.placeholder'
},
{
default
:
'在此输入你的内容,最长120个字符,60个汉字'
}),
rows
:
5
,
},
'x-rules'
:
[
{
required
:
true
,
// 写外边不生效了???
},
{
limitByte
:
true
,
// 自定义校验规则
maxByte
:
120
,
}
...
...
src/pages/afterService/components/VerifyModal/schema/index.ts
View file @
7a9bbec3
...
...
@@ -27,13 +27,15 @@ export const auditModalSchema: ISchema = {
type
:
'string'
,
title
:
intl
.
formatMessage
({
id
:
'afterService.components.VerifyModal.reason.noPass'
},
{
default
:
'审核不通过原因'
}),
'x-component'
:
'textarea'
,
required
:
true
,
'x-component-props'
:
{
placeholder
:
intl
.
formatMessage
({
id
:
'afterService.components.VerifyModal.reason.placeholder'
},
{
default
:
'在此输入你的内容,最长120个字符,60个汉字'
}),
rows
:
5
,
},
'x-rules'
:
[
{
required
:
true
,
},
{
limitByte
:
true
,
// 自定义校验规则
maxByte
:
120
,
}
...
...
src/pages/member/components/VerifyModal/schema.ts
View file @
7a9bbec3
...
...
@@ -34,13 +34,15 @@ const schema: ISchema = {
type
:
'string'
,
title
:
intl
.
formatMessage
({
id
:
'member.components.VerifyModal.reason.noPass'
}),
'x-component'
:
'textarea'
,
required
:
true
,
'x-component-props'
:
{
placeholder
:
intl
.
formatMessage
({
id
:
'member.components.VerifyModal.reason.placeholder'
}),
rows
:
5
,
},
'x-rules'
:
[
{
required
:
true
,
},
{
limitByte
:
true
,
// 自定义校验规则
maxByte
:
120
,
}
...
...
src/pages/member/memberPrComingClassify/components/ComingClassifyDrawer/schema/index.ts
View file @
7a9bbec3
...
...
@@ -369,13 +369,15 @@ export const schema: ISchema = {
type
:
'string'
,
title
:
intl
.
formatMessage
({
id
:
'member.management.memberPrComingClassify.drawer.form.verify.reason'
}),
'x-component'
:
'Textarea'
,
required
:
true
,
'x-component-props'
:
{
placeholder
:
intl
.
formatMessage
({
id
:
'member.management.memberPrComingClassify.drawer.form.verify.placeholder'
}),
rows
:
5
,
},
'x-rules'
:
[
{
required
:
true
,
},
{
limitByte
:
true
,
// 自定义校验规则
maxByte
:
120
,
}
...
...
src/pages/member/memberPrComingInvestigate/components/VerifyComingInvestigateDrawer/schema.ts
View file @
7a9bbec3
...
...
@@ -133,13 +133,15 @@ export const schema: ISchema = {
type
:
'string'
,
title
:
intl
.
formatMessage
({
id
:
'member.management.memberPrComingInvestigate.drawer.form.verify.reason'
}),
'x-component'
:
'Textarea'
,
required
:
true
,
'x-component-props'
:
{
placeholder
:
intl
.
formatMessage
({
id
:
'member.management.memberPrComingInvestigate.drawer.form.verify.placeholder'
}),
rows
:
5
,
},
'x-rules'
:
[
{
required
:
true
,
},
{
limitByte
:
true
,
// 自定义校验规则
maxByte
:
120
,
}
...
...
src/pages/transaction/marketingAbility/merchantCoupon/components/VerifyModal/schema.ts
View file @
7a9bbec3
...
...
@@ -33,13 +33,15 @@ const schema: ISchema = {
type
:
'string'
,
title
:
intl
.
formatMessage
({
id
:
'merchantCoupon.Notpassingthereason'
}),
'x-component'
:
'textarea'
,
required
:
true
,
'x-component-props'
:
{
placeholder
:
intl
.
formatMessage
({
id
:
'merchantCoupon.up120characters60characters'
}),
rows
:
5
,
},
'x-rules'
:
[
{
required
:
true
,
},
{
limitByte
:
true
,
// 自定义校验规则
maxByte
:
120
,
}
...
...
src/pages/transaction/marketingAbility/merchantCoupon/merchantCouponQuery/components/ReasonForm/schema.tsx
View file @
7a9bbec3
...
...
@@ -36,13 +36,15 @@ const schema: ISchema = {
type
:
'string'
,
title
:
`
${
intl
.
formatMessage
({
id
:
'merchantCoupon.reason'
})}
`
,
'x-component'
:
'textarea'
,
required
:
true
,
'x-component-props'
:
{
placeholder
:
`
${
intl
.
formatMessage
({
id
:
'merchantCoupon.between50and100'
})}
`
,
rows
:
4
,
},
'x-rules'
:
[
{
required
:
true
,
},
{
limitByte
:
true
,
// 自定义校验规则
maxByte
:
100
,
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment