From 6bc633b3b668e06dcff9ca4a24d5a80bef7772db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Tue, 23 Jul 2019 10:58:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/Index.js | 2 +- public/react/src/modules/courses/coursesHome/CoursesHome.js | 6 +++--- .../src/modules/courses/coursesHome/CoursesHomeCard.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/react/src/modules/courses/Index.js b/public/react/src/modules/courses/Index.js index 27424821f..017a36765 100644 --- a/public/react/src/modules/courses/Index.js +++ b/public/react/src/modules/courses/Index.js @@ -18,7 +18,7 @@ const ListPageIndex = Loadable({ //课堂首页 const CoursesHome = Loadable({ - loader: () => import('./coursesHome/coursesHome'), + loader: () => import('./coursesHome/CoursesHome'), loading:Loading, }) diff --git a/public/react/src/modules/courses/coursesHome/CoursesHome.js b/public/react/src/modules/courses/coursesHome/CoursesHome.js index 994e14eb9..3f4b4ad12 100644 --- a/public/react/src/modules/courses/coursesHome/CoursesHome.js +++ b/public/react/src/modules/courses/coursesHome/CoursesHome.js @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import {getImageUrl} from 'educoder'; -import CoursesHomeCard from "./coursesHomeCard.js" +import CoursesHomeCard from "./CoursesHomeCard.js" import axios from 'axios'; import {Input,Tooltip} from 'antd'; import UpgradeModals from '../../modals/UpgradeModals'; @@ -10,7 +10,7 @@ import '@icedesign/base/lib/pagination/style.js'; const Search = Input.Search; -class coursesHome extends Component{ +class CoursesHome extends Component{ constructor(props) { super(props) this.state = { @@ -160,7 +160,7 @@ class coursesHome extends Component{ ) } } -export default coursesHome; +export default CoursesHome; // {/**/} \ No newline at end of file diff --git a/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js b/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js index 2f65c622f..cd671cbe4 100644 --- a/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js +++ b/public/react/src/modules/courses/coursesHome/CoursesHomeCard.js @@ -4,7 +4,7 @@ import { BrowserRouter as Router, Route, Link } from "react-router-dom"; import {Tooltip,Spin,Alert} from 'antd'; import ShowSpin from '../../../common/ShowSpin'; -class coursesHomeCard extends Component{ +class CoursesHomeCard extends Component{ constructor(props) { super(props) } @@ -134,5 +134,5 @@ class coursesHomeCard extends Component{ ) } } -export default coursesHomeCard; +export default CoursesHomeCard;