mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 21:42:14 +08:00
Audit WebCRT commands from device stdout after tab completion.
ZTE tab redraws the input line via carriage return; parse the last prompt line from PTY stdout on Enter instead of stdin keystrokes. Also remove remaining ?? in AuditPage. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
a9c7e81793
commit
6ea14e6d5e
5 changed files with 110 additions and 13 deletions
|
|
@ -87,8 +87,8 @@ export function auditSummary(
|
|||
: neIds.length;
|
||||
return t("audit.summary.neExecBatch", {
|
||||
n: String(Number.isFinite(targetCount) ? targetCount : 0),
|
||||
ok: String(d.ok_count ?? 0),
|
||||
fail: String(d.fail_count ?? 0),
|
||||
ok: String(d.ok_count != null ? Number(d.ok_count) : 0),
|
||||
fail: String(d.fail_count != null ? Number(d.fail_count) : 0),
|
||||
});
|
||||
}
|
||||
if (action.startsWith("auth.")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue