File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
src/renderer/src/views/uds Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,11 @@ function handleCheckChange(
239
239
node .enable = checked
240
240
}
241
241
})
242
+ if (checked ) {
243
+ window .logBus .on (data .id , dataUpdate )
244
+ } else {
245
+ window .logBus .detach (data .id , dataUpdate )
246
+ }
242
247
}
243
248
244
249
const addNode = () => {
Original file line number Diff line number Diff line change @@ -236,6 +236,11 @@ function handleCheckChange(
236
236
node .enable = checked
237
237
}
238
238
})
239
+ if (checked ) {
240
+ window .logBus .on (data .id , dataUpdate )
241
+ } else {
242
+ window .logBus .detach (data .id , dataUpdate )
243
+ }
239
244
}
240
245
241
246
const addNode = () => {
Original file line number Diff line number Diff line change @@ -302,7 +302,6 @@ const tableData = computed(() => {
302
302
tables .push (t )
303
303
i ++
304
304
}
305
- console .log (foundMasterReq , foundSlaveResp )
306
305
if (! foundMasterReq || ! foundSlaveResp ) {
307
306
const bytes = 8
308
307
const baseTime = (bytes * 10 + 44 ) * (1 / db .global .LIN_speed )
You can’t perform that action at this time.
0 commit comments