项目基础确认搭建完成
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import { Component } from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import './index.css';
|
||||
|
||||
// copilot抄来的模板
|
||||
export class AppContainer extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="App">
|
||||
{this.props.children}
|
||||
<p>展示页</p>
|
||||
<Link to="/upload" className="btn btn-primary">前往</Link>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user