From bd2a49e2991c96a3f5d9874141333a7486b325f8 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <31820853+zhengkunwang223@users.noreply.github.com> Date: Fri, 12 May 2023 15:08:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E7=BD=91=E7=AB=99?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=88=87=E6=8D=A2=E5=88=B0=20HTTPS=20?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=8F=B0=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#1016)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix https://github.com/1Panel-dev/1Panel/issues/672 --- frontend/src/views/website/website/config/basic/https/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/website/website/config/basic/https/index.vue b/frontend/src/views/website/website/config/basic/https/index.vue index 311cd2bdc..916da53ed 100644 --- a/frontend/src/views/website/website/config/basic/https/index.vue +++ b/frontend/src/views/website/website/config/basic/https/index.vue @@ -184,7 +184,7 @@ const get = () => { if (res.data.httpConfig != '') { form.httpConfig = res.data.httpConfig; } - if (res.data.SSLProtocol.length > 0) { + if (res.data.SSLProtocol && res.data.SSLProtocol.length > 0) { form.SSLProtocol = res.data.SSLProtocol; } if (res.data.algorithm != '') {