Commit c3effe43 by wangshuo

保存ccode

parent 33a178a0
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
"detail.js": "/mrstatic/js/detail.e03841e1.chunk.js", "detail.js": "/mrstatic/js/detail.e03841e1.chunk.js",
"detail.js.map": "/mrstatic/js/detail.e03841e1.chunk.js.map", "detail.js.map": "/mrstatic/js/detail.e03841e1.chunk.js.map",
"main.css": "/mrstatic/css/main.027acff3.chunk.css", "main.css": "/mrstatic/css/main.027acff3.chunk.css",
"main.js": "/mrstatic/js/main.8bd33a1a.chunk.js", "main.js": "/mrstatic/js/main.721f76e9.chunk.js",
"main.js.map": "/mrstatic/js/main.8bd33a1a.chunk.js.map", "main.js.map": "/mrstatic/js/main.721f76e9.chunk.js.map",
"myorders.css": "/mrstatic/css/myorders.6e68e44c.chunk.css", "myorders.css": "/mrstatic/css/myorders.6e68e44c.chunk.css",
"myorders.js": "/mrstatic/js/myorders.07740660.chunk.js", "myorders.js": "/mrstatic/js/myorders.07740660.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.07740660.chunk.js.map", "myorders.js.map": "/mrstatic/js/myorders.07740660.chunk.js.map",
...@@ -244,6 +244,6 @@ ...@@ -244,6 +244,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.f2f4294d.woff", "mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.f2f4294d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png", "mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png", "mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.acc1460cbfa3295e2134b539782c8a42.js": "/precache-manifest.acc1460cbfa3295e2134b539782c8a42.js", "precache-manifest.a30e65a0df1e1f66d91c52a67f062a15.js": "/precache-manifest.a30e65a0df1e1f66d91c52a67f062a15.js",
"service-worker.js": "/service-worker.js" "service-worker.js": "/service-worker.js"
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -24,16 +24,16 @@ self.__precacheManifest = [ ...@@ -24,16 +24,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/3.8df1d511.chunk.js" "url": "/mrstatic/js/3.8df1d511.chunk.js"
}, },
{ {
"revision": "c79abf5cb7ae8a82009cf68fe44d1078", "revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png" "url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
}, },
{ {
"revision": "6a524140fff1ee2a57fa", "revision": "6a524140fff1ee2a57fa",
"url": "/mrstatic/js/4.74d1e4ea.chunk.js" "url": "/mrstatic/js/4.74d1e4ea.chunk.js"
}, },
{ {
"revision": "6902434f8f18a23319d57d0ac8aaea8c", "revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png" "url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
}, },
{ {
"revision": "cb628622ab14ffceafd1", "revision": "cb628622ab14ffceafd1",
...@@ -72,16 +72,16 @@ self.__precacheManifest = [ ...@@ -72,16 +72,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/CourseList.4766034a.chunk.js" "url": "/mrstatic/js/CourseList.4766034a.chunk.js"
}, },
{ {
"revision": "99b2454970e48c8bb00578cdca15b3d2", "revision": "64fd0b167457064e12ff8a6afcd31720",
"url": "/mrstatic/media/iconfont.99b24549.ttf" "url": "/mrstatic/media/iconfont.64fd0b16.eot"
}, },
{ {
"revision": "935a370a5abe4dd58fff", "revision": "935a370a5abe4dd58fff",
"url": "/mrstatic/js/DrawDocument.0209bc7f.chunk.js" "url": "/mrstatic/js/DrawDocument.0209bc7f.chunk.js"
}, },
{ {
"revision": "64fd0b167457064e12ff8a6afcd31720", "revision": "99b2454970e48c8bb00578cdca15b3d2",
"url": "/mrstatic/media/iconfont.64fd0b16.eot" "url": "/mrstatic/media/iconfont.99b24549.ttf"
}, },
{ {
"revision": "8cc99816e106189c7013", "revision": "8cc99816e106189c7013",
...@@ -220,8 +220,8 @@ self.__precacheManifest = [ ...@@ -220,8 +220,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/48.1f4efd3a.chunk.js" "url": "/mrstatic/js/48.1f4efd3a.chunk.js"
}, },
{ {
"revision": "8df2f82991e3db496b48", "revision": "df47d467ecf171576e23",
"url": "/mrstatic/js/main.8bd33a1a.chunk.js" "url": "/mrstatic/js/main.721f76e9.chunk.js"
}, },
{ {
"revision": "b66d32046b94e6032110", "revision": "b66d32046b94e6032110",
...@@ -364,7 +364,7 @@ self.__precacheManifest = [ ...@@ -364,7 +364,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/48.0531ddd7.chunk.css" "url": "/mrstatic/css/48.0531ddd7.chunk.css"
}, },
{ {
"revision": "8df2f82991e3db496b48", "revision": "df47d467ecf171576e23",
"url": "/mrstatic/css/main.027acff3.chunk.css" "url": "/mrstatic/css/main.027acff3.chunk.css"
}, },
{ {
...@@ -520,7 +520,7 @@ self.__precacheManifest = [ ...@@ -520,7 +520,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/3.fd1b61f1.chunk.css" "url": "/mrstatic/css/3.fd1b61f1.chunk.css"
}, },
{ {
"revision": "7b69df13db5f04baf6287eb0b05cd175", "revision": "793a8b6edb3192fbfe7c172e7199a683",
"url": "/index.html" "url": "/index.html"
} }
]; ];
\ No newline at end of file
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.acc1460cbfa3295e2134b539782c8a42.js" "/precache-manifest.a30e65a0df1e1f66d91c52a67f062a15.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
...@@ -45,8 +45,7 @@ class App extends Component { ...@@ -45,8 +45,7 @@ class App extends Component {
componentWillMount() { componentWillMount() {
let url = window.location.href; let url = window.location.href;
if(url.indexOf('ccode') > -1) { if(url.indexOf('ccode') > -1) {
console.log(decodeURIComponent(getParam('ccode'))); if(!getParam('ccode').includes('%')) {
if(decodeURIComponent(getParam('ccode')) != '') {
cookie.set('ccode', getParam('ccode'), { expires: 1, domain: '.julyedu.com', path: '/' }) cookie.set('ccode', getParam('ccode'), { expires: 1, domain: '.julyedu.com', path: '/' })
} }
} }
......
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