From e274f91a58fac3c171c9b962e3d87781de1b76a6 Mon Sep 17 00:00:00 2001 From: awol2005ex Date: Wed, 8 Jan 2025 11:57:42 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=20=E8=8E=B7=E5=8F=96pod=E5=9F=9F?= =?UTF-8?q?=E5=90=8D=E6=97=B6=E7=9A=84=E9=A1=B5=E9=9D=A2=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E7=A9=BA=E5=80=BC=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/dashboard/src/business/workloads/pods/detail/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/dashboard/src/business/workloads/pods/detail/index.vue b/web/dashboard/src/business/workloads/pods/detail/index.vue index ac56a921..6f57d9f1 100644 --- a/web/dashboard/src/business/workloads/pods/detail/index.vue +++ b/web/dashboard/src/business/workloads/pods/detail/index.vue @@ -183,7 +183,7 @@ export default { }, async get_pod_domain(){ let ip = ""; - if (this.form.status.podIPs.length > 0) { + if (this.form.status.podIPs && this.form.status.podIPs.length > 0) { ip = this.form.status.podIP.replaceAll(".", "-"); } this.ip=ip