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, }) }