mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-27 05:30:14 +08:00
29 lines
593 B
JavaScript
29 lines
593 B
JavaScript
import React, { Component } from 'react';
|
|
import './Follows.scss';
|
|
import Subnav from '../../components/Subnav/Subnav.js';
|
|
console.log('js in');
|
|
|
|
class Follows extends Component {
|
|
render () {
|
|
console.log('render');
|
|
return (
|
|
<div>
|
|
<Subnav
|
|
default={'我的关注'}
|
|
data={[{
|
|
name: '项目广场',
|
|
path: '/group'
|
|
}, {
|
|
name: '我的关注',
|
|
path: '/follow'
|
|
}]}/>
|
|
<div className="g-row">
|
|
我的关注页
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
}
|
|
|
|
export default Follows;
|