mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	管理界面可以切换风格
This commit is contained in:
		@@ -21,6 +21,17 @@ Tea.context(function () {
 | 
			
		||||
        this.loadDNSTasks()
 | 
			
		||||
    })
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * 切换模板
 | 
			
		||||
	 */
 | 
			
		||||
	this.changeTheme = function () {
 | 
			
		||||
		this.$post("/ui/theme")
 | 
			
		||||
			.success(function (resp) {
 | 
			
		||||
				teaweb.successToast("界面风格已切换")
 | 
			
		||||
				this.teaTheme = resp.data.theme
 | 
			
		||||
			})
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 左侧子菜单
 | 
			
		||||
     */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user