|
@@ -253,7 +253,7 @@
|
|
addItem (item) {
|
|
addItem (item) {
|
|
if (!item) return
|
|
if (!item) return
|
|
this.addItemVisible = false
|
|
this.addItemVisible = false
|
|
- let i = this.checkItems.findIndex((item) => item.id === item.id)
|
|
|
|
|
|
+ let i = this.checkItems.findIndex((item1) => item1.id === item.id)
|
|
if (i > -1) {
|
|
if (i > -1) {
|
|
this.checkItems.splice(i)
|
|
this.checkItems.splice(i)
|
|
}
|
|
}
|