Review 1
L-W-F opened this issue · 1 comments
L-W-F commented
- 依赖项最好按类别分堆,比如外部的、全局的、子模块的、样式的
- import 区之后加一空行
Lines 1 to 20 in e9a758d
import React from "react" | |
import axios from "axios" | |
import { Route, Switch, Link } from "react-router-dom" | |
import "./css/reset.css" | |
import "./css/common.css" | |
import "./css/app.css" | |
import "./css/iconfont.css" | |
import cnode from "./assets/cnodejs.svg" | |
import TopicList from "./modules/Home/TopicList.jsx" | |
import TopicDetail from "./modules/Home/TopicDetail.jsx" | |
import UserDetail from "./modules/User/UserDetail.jsx" | |
import Login from "./modules/Login/Login.jsx" | |
import MessageList from "./modules/User/MessageList.jsx" | |
import Collect from "./modules/User/Collect.jsx" | |
import PublishTopic from "./modules/User/PublishTopic.jsx" | |
import BackUp from "./modules/Common/BackUp.jsx" | |
import util from "./modules/util/util.js" | |
import service from "./modules/service.js" | |
import { Row, Col, Layout, message, Badge } from "antd" | |
const { Header, Footer } = Layout |
tian-cai commented
谢谢,已修复