专长理由限制
This commit is contained in:
parent
773feb7b5d
commit
41e5088ada
@ -259,12 +259,36 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
// rules
|
// rules
|
||||||
// const rules = reactive({
|
const rules = reactive({
|
||||||
// multi_point_fail_reason: [{
|
avatar_reason: [ {
|
||||||
// required: true,
|
validator: (value, cb) => {
|
||||||
// message: '请输入审核失败原因'
|
if (value.length>20) {
|
||||||
// }],
|
cb('头像理由不能超过20个字符');
|
||||||
// });
|
}
|
||||||
|
}
|
||||||
|
}],
|
||||||
|
doctor_expertise_reason: [ {
|
||||||
|
validator: (value, cb) => {
|
||||||
|
if (value.length>20) {
|
||||||
|
cb('专长理由不能超过20个字符');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}],
|
||||||
|
brief_introduction_reason: [ {
|
||||||
|
validator: (value, cb) => {
|
||||||
|
if (value.length>20) {
|
||||||
|
cb('简介理由不能超过20个字符');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}],
|
||||||
|
be_good_at_reason: [ {
|
||||||
|
validator: (value, cb) => {
|
||||||
|
if (value.length>20) {
|
||||||
|
cb('擅长理由不能超过20个字符');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}],
|
||||||
|
});
|
||||||
// Batch Del List
|
// Batch Del List
|
||||||
let batchList = [];
|
let batchList = [];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user