diff --git a/webui/src/components/ParameterForm.vue b/webui/src/components/ParameterForm.vue index 6aef34d..ffe4dc3 100644 --- a/webui/src/components/ParameterForm.vue +++ b/webui/src/components/ParameterForm.vue @@ -632,7 +632,10 @@ const calculate = async () => { const paramsWithAnimation = { parameter: toRaw(rawParams.parameter), advance: toRaw(rawParams.advance), - optional: toRaw(rawParams.optional), + optional: { + ...toRaw(rawParams.optional), + voltage_n: 1 // 强制将电压份数设置为1 + }, animation_enabled: animationRef.value?.isEnabled() ?? false } await window.pywebview.api.calculate(paramsWithAnimation)