专长理由限制
This commit is contained in:
parent
773feb7b5d
commit
41e5088ada
@ -259,12 +259,36 @@
|
||||
];
|
||||
|
||||
// rules
|
||||
// const rules = reactive({
|
||||
// multi_point_fail_reason: [{
|
||||
// required: true,
|
||||
// message: '请输入审核失败原因'
|
||||
// }],
|
||||
// });
|
||||
const rules = reactive({
|
||||
avatar_reason: [ {
|
||||
validator: (value, cb) => {
|
||||
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
|
||||
let batchList = [];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user