[前台] notice 告警卡片程序調整
This commit is contained in:
		
							parent
							
								
									447f1c6d69
								
							
						
					
					
						commit
						56e18cc5a1
					
				@ -190,7 +190,7 @@ class YTNoticeBlock {
 | 
				
			|||||||
    checkCanShow = function (notice = null) {
 | 
					    checkCanShow = function (notice = null) {
 | 
				
			||||||
        let lastNoticeOffset = $(this.noticeContainer).find(".toast").last().offset();
 | 
					        let lastNoticeOffset = $(this.noticeContainer).find(".toast").last().offset();
 | 
				
			||||||
        if ($(this.noticeContainer).find(".toast").last().length == 0) {
 | 
					        if ($(this.noticeContainer).find(".toast").last().length == 0) {
 | 
				
			||||||
            return true;
 | 
					            return notice.canShow;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if ($(notice.obj.container).is(":visible")) {
 | 
					        if ($(notice.obj.container).is(":visible")) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user