From b6dd40fc387e932072de16cb93cb23c81e980c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Fri, 29 Nov 2024 09:35:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=B1=E7=AE=A1=20=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=20=E6=9F=A5=E8=AF=A2=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ContainerManagement/CurrentState/index.vue | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/views/ContainerManagement/CurrentState/index.vue b/src/views/ContainerManagement/CurrentState/index.vue index 9cc57de5..2ea9ab0c 100644 --- a/src/views/ContainerManagement/CurrentState/index.vue +++ b/src/views/ContainerManagement/CurrentState/index.vue @@ -64,14 +64,16 @@ } }) if (MessageArr.length) { - let txt = `有${MessageArr.length}个待上线:` - for (let i = 0; i < 5; i++) { - if (MessageArr[i]) { - txt = i == 0 ? `${txt} ${MessageArr[i]}` : `${txt},\n${MessageArr[i]}` - } - } + // let txt = `有${MessageArr.length}个待上线:` + let txt = `有${MessageArr.length}个待上线.` + // for (let i = 0; i < 5; i++) { + // if (MessageArr[i]) { + // txt = i == 0 ? `${txt} ${MessageArr[i]}` : `${txt},\n${MessageArr[i]}` + // } + // } notification.warning({ - message: MessageArr.length > 5 ? `${txt}...` : txt, + // message: MessageArr.length > 5 ? `${txt}...` : txt, + message: txt, duration: 6000, }) }