import React from 'react'; import './detail.less'; import logo from '../../../image/logo.png'; import ajax from 'jquery/src/ajax/xhr.js'; import $ from 'jquery/src/ajax'; const LoginTop = React.createClass({ logOut() { $.ajax({ method: "get", dataType: "json", url: globalConfig.context + "/login", }).done(function (data) { window.location.href = globalConfig.context + "/user/login.html" }); }, render() { return (
) } }); export default LoginTop;