Skip to content

Commit 72abaac

Browse files
committed
fixed the index/index.js
1 parent e733d1c commit 72abaac

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/views/Index/index.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,8 @@ import ContentMain from '../../components/ContentMain';
44
import SiderNav from '../../components/SiderNav';
55
import Avatar from '../Avatar'
66
import './index.css';
7-
import gl_ajax from '../../api/index';
87
const { Header, Content, Footer} = Layout;
98
export default class Index extends Component {
10-
handleClick(){
11-
gl_ajax({
12-
method:'get',
13-
url:'/hello',
14-
data:{},
15-
success(res){
16-
17-
},
18-
error(err){
19-
20-
}
21-
});
22-
}
239
render() {
2410
return (
2511
<Layout>

0 commit comments

Comments
 (0)