From 2fd050ec6df47274de1ba32b88a3df3d8dd77bac Mon Sep 17 00:00:00 2001 From: feie9454 Date: Fri, 12 Sep 2025 11:40:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=B5=E9=98=BB=E7=AE=B1?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index e11a684..6518085 100644 --- a/src/App.vue +++ b/src/App.vue @@ -490,7 +490,7 @@ function buildNet(): BuiltNet { resistors.push({ inst, nPlus: n0, nMinus: n3, R: Rad }) // CD 固定为最大电阻 resistors.push({ inst, nPlus: n2, nMinus: n3, R: Rmax }) - } else if (key === 'resistor' || key === 'light_bulb' || key === 'meter') { + } else if (key === 'resistor' || key === 'light_bulb' || key === 'meter' || key === 'resistance_box') { const R = Math.max(1e-6, safeNum(inst.props?.['resistance'], 0)) resistors.push({ inst, nPlus: n0, nMinus: n1, R }) } else {