Commit aa9b27de authored by 涂伟's avatar 涂伟

fix: '摘要字段数量限制去掉'

parent a124ddf2
Pipeline #72857 passed with stages
......@@ -1703,8 +1703,11 @@ const AddModal = props => {
if (aa == '') {
return Promise.reject('摘要字段必选');
}
if (bb.length < 1 || aa.split(',').length > 5) {
return Promise.reject('最少配置一个字段,最多配置五个字段');
// if (bb.length < 1 || aa.split(',').length > 5) {
// return Promise.reject('最少配置一个字段,最多配置五个字段');
// }
if (bb.length < 1) {
return Promise.reject('最少配置一个字段');
}
return Promise.resolve();
},
......
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