mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	优化datepicker组件
This commit is contained in:
		@@ -85,7 +85,6 @@ window.teaweb = {
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		if (typeof (element) == "string") {
 | 
			
		||||
			element = document.getElementById(element);
 | 
			
		||||
		}
 | 
			
		||||
@@ -112,6 +111,8 @@ window.teaweb = {
 | 
			
		||||
			},
 | 
			
		||||
			reposition: !bottomLeft
 | 
			
		||||
		})
 | 
			
		||||
 | 
			
		||||
		element.picker = picker
 | 
			
		||||
	},
 | 
			
		||||
	formatBytes: function (bytes) {
 | 
			
		||||
		bytes = Math.ceil(bytes);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user