简介审核
This commit is contained in:
parent
1398a5a48f
commit
66ee735d64
@ -262,28 +262,28 @@
|
||||
const rules = reactive({
|
||||
avatar_reason: [ {
|
||||
validator: (value, cb) => {
|
||||
if (value.length>20) {
|
||||
if (value && value.length>20) {
|
||||
cb('头像理由不能超过20个字符');
|
||||
}
|
||||
}
|
||||
}],
|
||||
doctor_expertise_reason: [ {
|
||||
validator: (value, cb) => {
|
||||
if (value.length>20) {
|
||||
if (value && value.length>20) {
|
||||
cb('专长理由不能超过20个字符');
|
||||
}
|
||||
}
|
||||
}],
|
||||
brief_introduction_reason: [ {
|
||||
validator: (value, cb) => {
|
||||
if (value.length>20) {
|
||||
if (value && value.length>20) {
|
||||
cb('简介理由不能超过20个字符');
|
||||
}
|
||||
}
|
||||
}],
|
||||
be_good_at_reason: [ {
|
||||
validator: (value, cb) => {
|
||||
if (value.length>20) {
|
||||
if (value && value.length>20) {
|
||||
cb('擅长理由不能超过20个字符');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user