判断
This commit is contained in:
@@ -124,6 +124,9 @@
|
|||||||
this.index1 = e.detail.value
|
this.index1 = e.detail.value
|
||||||
},
|
},
|
||||||
handleAdd () {
|
handleAdd () {
|
||||||
|
if (this.dataList.length >= 2) {
|
||||||
|
return
|
||||||
|
}
|
||||||
this.dataList.push({site: this.index1})
|
this.dataList.push({site: this.index1})
|
||||||
},
|
},
|
||||||
handleDelete (index) {
|
handleDelete (index) {
|
||||||
|
|||||||
Reference in New Issue
Block a user