[前台] notice 告警卡片程序調整

This commit is contained in:
dev01 2023-06-07 14:02:38 +08:00
parent 447f1c6d69
commit 56e18cc5a1

View File

@ -190,7 +190,7 @@ class YTNoticeBlock {
checkCanShow = function (notice = null) {
let lastNoticeOffset = $(this.noticeContainer).find(".toast").last().offset();
if ($(this.noticeContainer).find(".toast").last().length == 0) {
return true;
return notice.canShow;
}
if ($(notice.obj.container).is(":visible")) {