...
|
...
|
@@ -144,11 +144,6 @@ |
144
|
144
|
deviceList.value = deWeightThree();
|
145
|
145
|
const findEditValue = deviceList.value.findIndex((f) => f.value == e.value);
|
146
|
146
|
if (findEditValue !== -1) deviceList.value.splice(findEditValue, 1);
|
147
|
|
- // try {
|
148
|
|
- // if (deviceList.value[0]?.attributes.length > 0) {
|
149
|
|
- // deviceList.value.splice(0, 1);
|
150
|
|
- // }
|
151
|
|
- // } catch {}
|
152
|
147
|
} else {
|
153
|
148
|
const eDevice = e.key || e.value;
|
154
|
149
|
const findValue = deviceList.value.findIndex((f) => f.value == eDevice);
|
...
|
...
|
|