...
|
...
|
@@ -52,8 +52,8 @@ export default { |
|
|
this.selectParams = params;
|
|
|
},
|
|
|
clickItem(itemId, itemName) {
|
|
|
let idArray = this.selectParams.id;
|
|
|
let nameArray = this.selectParams.name;
|
|
|
let idArray = [].concat(this.selectParams.id);
|
|
|
let nameArray = [].concat(this.selectParams.name);
|
|
|
|
|
|
if (idArray.includes(itemId)) {
|
|
|
idArray = idArray.filter(item => item !== itemId);
|
...
|
...
|
|