Commit 817051ca by caixinyu

修改bug

parent e2701e9e
......@@ -115,8 +115,8 @@
"python-class.css": "/mrstaticcss/python-class.af18e67a.chunk.css",
"python-class.js": "/mrstaticjs/python-class.f057d585.chunk.js",
"python-class.js.map": "/mrstaticjs/python-class.f057d585.chunk.js.map",
"runtime-main.js": "/mrstaticjs/runtime-main.e80b3d98.js",
"runtime-main.js.map": "/mrstaticjs/runtime-main.e80b3d98.js.map",
"runtime-main.js": "/mrstaticjs/runtime-main.58f43694.js",
"runtime-main.js.map": "/mrstaticjs/runtime-main.58f43694.js.map",
"search.css": "/mrstaticcss/search.b0c8ab06.chunk.css",
"search.js": "/mrstaticjs/search.22ac0029.chunk.js",
"search.js.map": "/mrstaticjs/search.22ac0029.chunk.js.map",
......@@ -189,8 +189,8 @@
"mrstaticjs/65.91ad905a.chunk.js": "/mrstaticjs/65.91ad905a.chunk.js",
"mrstaticjs/65.91ad905a.chunk.js.map": "/mrstaticjs/65.91ad905a.chunk.js.map",
"mrstaticcss/66.83216846.chunk.css": "/mrstaticcss/66.83216846.chunk.css",
"mrstaticjs/66.63156fee.chunk.js": "/mrstaticjs/66.63156fee.chunk.js",
"mrstaticjs/66.63156fee.chunk.js.map": "/mrstaticjs/66.63156fee.chunk.js.map",
"mrstaticjs/66.fd0b2f5e.chunk.js": "/mrstaticjs/66.fd0b2f5e.chunk.js",
"mrstaticjs/66.fd0b2f5e.chunk.js.map": "/mrstaticjs/66.fd0b2f5e.chunk.js.map",
"mrstaticcss/67.7e64bb18.chunk.css": "/mrstaticcss/67.7e64bb18.chunk.css",
"mrstaticjs/67.e6616998.chunk.js": "/mrstaticjs/67.e6616998.chunk.js",
"mrstaticjs/67.e6616998.chunk.js.map": "/mrstaticjs/67.e6616998.chunk.js.map",
......@@ -279,11 +279,11 @@
"mrstaticmedia/kanjia_cg_icon.png": "/mrstaticmedia/kanjia_cg_icon.81a489ac.png",
"mrstaticmedia/video.scss": "/mrstaticmedia/progress-share-bg.80011994.png",
"mrstaticmedia/tanchuang.png": "/mrstaticmedia/tanchuang.de9468e5.png",
"precache-manifest.a66fea9b0f4e7cc2313dcbdbce62c1f1.js": "/precache-manifest.a66fea9b0f4e7cc2313dcbdbce62c1f1.js",
"precache-manifest.e53fb1a39dc86386608e17cde3ad3298.js": "/precache-manifest.e53fb1a39dc86386608e17cde3ad3298.js",
"service-worker.js": "/service-worker.js"
},
"entrypoints": [
"mrstaticjs/runtime-main.e80b3d98.js",
"mrstaticjs/runtime-main.58f43694.js",
"mrstaticcss/51.ee6d5e86.chunk.css",
"mrstaticjs/51.54378fc2.chunk.js",
"mrstaticcss/main.a40f1613.chunk.css",
......
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "dea62eef8beb1e3de9e17132c0ad9ac6",
"revision": "495c659000ca833eb58bdf381ac28e3a",
"url": "/index.html"
},
{
......@@ -64,7 +64,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticcss/65.007ae542.chunk.css"
},
{
"revision": "afca7e2e7f460391f559",
"revision": "3f4e01679eb256c3817c",
"url": "/mrstaticcss/66.83216846.chunk.css"
},
{
......@@ -356,8 +356,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/65.91ad905a.chunk.js"
},
{
"revision": "afca7e2e7f460391f559",
"url": "/mrstaticjs/66.63156fee.chunk.js"
"revision": "3f4e01679eb256c3817c",
"url": "/mrstaticjs/66.fd0b2f5e.chunk.js"
},
{
"revision": "c9b861a807da69dd260a",
......@@ -520,8 +520,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/python-class.f057d585.chunk.js"
},
{
"revision": "5d48dbeb9dfbf6fc2ab9",
"url": "/mrstaticjs/runtime-main.e80b3d98.js"
"revision": "dd7e20b74eeea03fc6b3",
"url": "/mrstaticjs/runtime-main.58f43694.js"
},
{
"revision": "eade04b8c861219d43a1",
......
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.a66fea9b0f4e7cc2313dcbdbce62c1f1.js"
"/precache-manifest.e53fb1a39dc86386608e17cde3ad3298.js"
);
self.addEventListener('message', (event) => {
......
......@@ -125,7 +125,13 @@ class PythonCourse extends Component {
Toast.info("您已成功领券,请勿重复领取")
}
console.log('进入详情页');
if (_this.state.CourseUrl) {
window.location.href = _this.state.CourseUrl
} else {
let url = courseObj.find(it=>it.code == code)?.url
window.location.href = url
}
// history.push(_this.state.CourseUrl)
})
} else {
......
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