				}
				if(!res.data || !res.data.corpId){
					return false;
				}
				//如果没有开启
				if(res.data.enable != 1){
					return false;
				}
				
				element.tabAdd('login-handle', {
					title: '企业微信',
					content: '<div id="wx_reg"></div>',
					id: 'wechat-title'
				});
				element.tabChange('login-handle', 'wechat-title');
				var cssContent = 'data:text/css;base64,LmltcG93ZXJCb3gge21hcmdpbi10b3A6IC03JTt9Ci5pbXBvd2VyQm94IC5xcmNvZGUge3dpZHRoOiAyMDBweDt9Ci5pbXBvd2VyQm94IC50aXRsZSB7ZGlzc