Skip to content

Commit 6616568

Browse files
committed
修改注释路由产生的报错
1 parent 3f58404 commit 6616568

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

src/pages/coderiver/index.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,18 @@ export default class Home extends Component {
1616
);
1717
}
1818
}
19+
20+
// export default function Home() {
21+
// const [abc, setAbc] = React.useState('00000');
22+
// return (
23+
// <div>
24+
// <div>{abc}</div>
25+
// <img style={{ width: '100%' }} src={bgimg} alt="" />
26+
// <HomeTitle title={'优秀项目推荐'} path={'/'} color={'yellowgreen'} />
27+
// <HomeTitle title={'快速加入团队'} path={'/'} />
28+
// <HomeTitle title={'优秀程序员'} path={'/'} />
29+
// <HomeTitle title={'优秀设计师'} path={'/'} />
30+
// <HomeTitle title={'下载移动端'} path={'/'} />
31+
// </div>
32+
// );
33+
// }

src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* 注释路由
3-
* title: Index Page
4-
* Routes:
3+
* title:Index Page
4+
* Routes:- ./src/pages/display/index.tsx
55
* - ./src/pages/display/index.tsx
66
*/
77

0 commit comments

Comments
 (0)