Commit bb3761b0 by caixinyu

重新构建

parent e7e633aa
......@@ -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.a966594e.js",
"runtime-main.js.map": "/mrstaticjs/runtime-main.a966594e.js.map",
"runtime-main.js": "/mrstaticjs/runtime-main.33cd03ac.js",
"runtime-main.js.map": "/mrstaticjs/runtime-main.33cd03ac.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.96a5ec05.chunk.js": "/mrstaticjs/70.96a5ec05.chunk.js",
"mrstaticjs/70.96a5ec05.chunk.js.map": "/mrstaticjs/70.96a5ec05.chunk.js.map",
"mrstaticjs/70.c561d28f.chunk.js": "/mrstaticjs/70.c561d28f.chunk.js",
"mrstaticjs/70.c561d28f.chunk.js.map": "/mrstaticjs/70.c561d28f.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.6200332e5936c586b4c94ddfec3a5480.js": "/precache-manifest.6200332e5936c586b4c94ddfec3a5480.js",
"precache-manifest.9097c08ada5102db4ffeb7475225ab82.js": "/precache-manifest.9097c08ada5102db4ffeb7475225ab82.js",
"service-worker.js": "/service-worker.js"
},
"entrypoints": [
"mrstaticjs/runtime-main.a966594e.js",
"mrstaticjs/runtime-main.33cd03ac.js",
"mrstaticcss/51.ee6d5e86.chunk.css",
"mrstaticjs/51.54378fc2.chunk.js",
"mrstaticcss/main.a40f1613.chunk.css",
......
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "b621e4b4c4c844d255445a61114a6ad4",
"revision": "0944c95fefc7bb95877cd979946307e5",
"url": "/index.html"
},
{
......@@ -80,7 +80,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticcss/69.c310b129.chunk.css"
},
{
"revision": "37c8b6f421c73c75faec",
"revision": "c8a6b105d944c9a066a5",
"url": "/mrstaticcss/70.148c23dc.chunk.css"
},
{
......@@ -372,8 +372,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/69.80788432.chunk.js"
},
{
"revision": "37c8b6f421c73c75faec",
"url": "/mrstaticjs/70.96a5ec05.chunk.js"
"revision": "c8a6b105d944c9a066a5",
"url": "/mrstaticjs/70.c561d28f.chunk.js"
},
{
"revision": "7ffdaed4606960c92d03",
......@@ -520,8 +520,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/python-class.b9b43a65.chunk.js"
},
{
"revision": "4adefbc02545eb4ccdd6",
"url": "/mrstaticjs/runtime-main.a966594e.js"
"revision": "c0615b73682f65cc6e16",
"url": "/mrstaticjs/runtime-main.33cd03ac.js"
},
{
"revision": "25ba20eaf7742efc8166",
......
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.6200332e5936c586b4c94ddfec3a5480.js"
"/precache-manifest.9097c08ada5102db4ffeb7475225ab82.js"
);
self.addEventListener('message', (event) => {
......
......@@ -36,21 +36,23 @@ class PythonCourse extends Component {
}
componentDidMount() {
this.getUser()
}
showQuan=(id)=> {
this.setState({
this.getUser(id)
}
getUser=(id) => {
let _this = this;
http.get(`${API.home}/m/user_info_sample/0`).then((res) => {
if(res.code === 200){
_this.setState({
CourseUrl:courseObj[id].url,
courseName:courseObj[id].name,
prise:courseObj[id].prise,
modelBool:true,
code:courseObj[id].code,
})
}
getUser=() => {
http.get(`${API.home}/m/user_info_sample/0`).then((res) => {
if(res.code === 200){
}else{
//为登录,去登录
this.props.history.push("/passport")
......
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