Commit 6938a9b2 by caixinyu

重新部署

parent 8140f58d
HOST=localhost
HOST=m.julyedu.com
PORT=80
\ No newline at end of file
......@@ -115,8 +115,8 @@
"python-class.css": "/mrstaticcss/python-class.af18e67a.chunk.css",
"python-class.js": "/mrstaticjs/python-class.b9b43a65.chunk.js",
"python-class.js.map": "/mrstaticjs/python-class.b9b43a65.chunk.js.map",
"runtime-main.js": "/mrstaticjs/runtime-main.082a7c2d.js",
"runtime-main.js.map": "/mrstaticjs/runtime-main.082a7c2d.js.map",
"runtime-main.js": "/mrstaticjs/runtime-main.7d759d71.js",
"runtime-main.js.map": "/mrstaticjs/runtime-main.7d759d71.js.map",
"search.css": "/mrstaticcss/search.b0c8ab06.chunk.css",
"search.js": "/mrstaticjs/search.aaab04ef.chunk.js",
"search.js.map": "/mrstaticjs/search.aaab04ef.chunk.js.map",
......@@ -201,8 +201,8 @@
"mrstaticjs/69.80788432.chunk.js": "/mrstaticjs/69.80788432.chunk.js",
"mrstaticjs/69.80788432.chunk.js.map": "/mrstaticjs/69.80788432.chunk.js.map",
"mrstaticcss/70.148c23dc.chunk.css": "/mrstaticcss/70.148c23dc.chunk.css",
"mrstaticjs/70.72468f26.chunk.js": "/mrstaticjs/70.72468f26.chunk.js",
"mrstaticjs/70.72468f26.chunk.js.map": "/mrstaticjs/70.72468f26.chunk.js.map",
"mrstaticjs/70.56055b26.chunk.js": "/mrstaticjs/70.56055b26.chunk.js",
"mrstaticjs/70.56055b26.chunk.js.map": "/mrstaticjs/70.56055b26.chunk.js.map",
"mrstaticcss/71.9cd15945.chunk.css": "/mrstaticcss/71.9cd15945.chunk.css",
"mrstaticjs/71.d42b5c06.chunk.js": "/mrstaticjs/71.d42b5c06.chunk.js",
"mrstaticjs/71.d42b5c06.chunk.js.map": "/mrstaticjs/71.d42b5c06.chunk.js.map",
......@@ -278,11 +278,11 @@
"mrstaticmedia/iconfont.css": "/mrstaticmedia/iconfont.fa64fbc4.ttf",
"mrstaticmedia/kanjia_cg_icon.png": "/mrstaticmedia/kanjia_cg_icon.81a489ac.png",
"mrstaticmedia/video.scss": "/mrstaticmedia/progress-share-bg.80011994.png",
"precache-manifest.3c53fe722438c6aefdc60341da61fb4b.js": "/precache-manifest.3c53fe722438c6aefdc60341da61fb4b.js",
"precache-manifest.522232947a2e9788e29be90f709b0939.js": "/precache-manifest.522232947a2e9788e29be90f709b0939.js",
"service-worker.js": "/service-worker.js"
},
"entrypoints": [
"mrstaticjs/runtime-main.082a7c2d.js",
"mrstaticjs/runtime-main.7d759d71.js",
"mrstaticcss/51.ee6d5e86.chunk.css",
"mrstaticjs/51.54378fc2.chunk.js",
"mrstaticcss/main.a40f1613.chunk.css",
......
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "51378f27ed2ab5dc152689c9f09fc9be",
"revision": "9c10a73076f17550ce4dc7fce402ee4b",
"url": "/index.html"
},
{
......@@ -80,7 +80,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticcss/69.c310b129.chunk.css"
},
{
"revision": "62e773c9b390e38e9f75",
"revision": "56d043f55e9f082a4ef7",
"url": "/mrstaticcss/70.148c23dc.chunk.css"
},
{
......@@ -372,8 +372,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/69.80788432.chunk.js"
},
{
"revision": "62e773c9b390e38e9f75",
"url": "/mrstaticjs/70.72468f26.chunk.js"
"revision": "56d043f55e9f082a4ef7",
"url": "/mrstaticjs/70.56055b26.chunk.js"
},
{
"revision": "7ffdaed4606960c92d03",
......@@ -520,8 +520,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/python-class.b9b43a65.chunk.js"
},
{
"revision": "2cb3b25ebfbed628748c",
"url": "/mrstaticjs/runtime-main.082a7c2d.js"
"revision": "ae09859028e957a76369",
"url": "/mrstaticjs/runtime-main.7d759d71.js"
},
{
"revision": "25ba20eaf7742efc8166",
......
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.3c53fe722438c6aefdc60341da61fb4b.js"
"/precache-manifest.522232947a2e9788e29be90f709b0939.js"
);
self.addEventListener('message', (event) => {
......
......@@ -23,6 +23,11 @@ let courseObj = [{
name:'机器学习',
code:"8AED2B4DE5"
}]
@connect(
(state) => ({
user: state.user,
})
)
class PythonCourse extends Component {
constructor(props) {
super(props)
......@@ -36,10 +41,14 @@ class PythonCourse extends Component {
}
componentDidMount() {
const { user } = this.props
const uid = user && user.data && user.data.uid
if (!uid) {
this.props.history.push("/passport")
}
}
showQuan=(id)=> {
this.getUser()
// this.getUser()
this.setState({
CourseUrl:courseObj[id].url,
courseName:courseObj[id].name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment