mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	管理界面可以切换风格
This commit is contained in:
		@@ -275,7 +275,7 @@ window.teaweb = {
 | 
			
		||||
 | 
			
		||||
		Swal.fire(config);
 | 
			
		||||
	},
 | 
			
		||||
	successToast: function (message, timeout) {
 | 
			
		||||
	successToast: function (message, timeout, callback) {
 | 
			
		||||
		if (timeout == null) {
 | 
			
		||||
			timeout = 2000
 | 
			
		||||
		}
 | 
			
		||||
@@ -288,7 +288,12 @@ window.teaweb = {
 | 
			
		||||
			icon: "success",
 | 
			
		||||
			width: width,
 | 
			
		||||
			timer: timeout,
 | 
			
		||||
			showConfirmButton: false
 | 
			
		||||
			showConfirmButton: false,
 | 
			
		||||
			onAfterClose: function () {
 | 
			
		||||
				if (typeof callback == "function") {
 | 
			
		||||
					callback()
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		});
 | 
			
		||||
	},
 | 
			
		||||
	successRefresh: function (message) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user