...
|
...
|
@@ -92,12 +92,8 @@ |
92
|
92
|
// 'SHARED_ATTRIBUTES_SETTING',
|
93
|
93
|
// 'TO_DEVICE_RPC_REQUEST',
|
94
|
94
|
// ];
|
95
|
|
- // const selectIndex: any = ref('');
|
96
|
95
|
const handleSelectItem = (e) => {
|
97
|
96
|
console.log('e', e);
|
98
|
|
- // selectIndex.value = e || 'CLIENT_ATTRIBUTES_QUERYING';
|
99
|
|
- // selectIndex.value = selectArray.filter((f) => f !== e);
|
100
|
|
- // console.log('e1', selectIndex.value);
|
101
|
97
|
};
|
102
|
98
|
const handleAdd = () => {
|
103
|
99
|
dynamicSNMP.communicationConfigs.push({
|
...
|
...
|
@@ -111,12 +107,6 @@ |
111
|
107
|
],
|
112
|
108
|
queryingFrequencyMs: 0,
|
113
|
109
|
});
|
114
|
|
- // console.log('总数组', dynamicSNMP.communicationConfigs);
|
115
|
|
- // dynamicSNMP.communicationConfigs.forEach((snmp, index) => {
|
116
|
|
- // nextTick(() => {
|
117
|
|
- // unref(dynamicBindRef.SnmpFormItemRef)[index]?.handleChange(snmp?.spec);
|
118
|
|
- // });
|
119
|
|
- // });
|
120
|
110
|
};
|
121
|
111
|
const handleRemoveItem = (_, index) => {
|
122
|
112
|
dynamicSNMP.communicationConfigs.splice(index, 1);
|
...
|
...
|
|