去除最多勾选的限制

This commit is contained in:
宋伟佳
2022-03-26 15:26:26 +08:00
parent a429ac06ae
commit 2f3ddadc70
@@ -351,12 +351,12 @@ export default {
type: 'warning' type: 'warning'
}) })
} }
if (this.selectedListRep.length + textArr.length > 20) { // if (this.selectedListRep.length + textArr.length > 20) {
return this.$message({ // return this.$message({
message: `${this.config.attrName}最多选择20项`, // message: `${this.config.attrName}最多选择20项`,
type: 'warning' // type: 'warning'
}) // })
} // }
this.selectedListRep.map((item) => { this.selectedListRep.map((item) => {
let texts = '' let texts = ''
if (item.standYear != null && item.standYear !== '') { if (item.standYear != null && item.standYear !== '') {