Commit 99ba8121 by xuzhenghua

宝箱

parents 67751531 c02cc991
......@@ -4,8 +4,8 @@
"mrstatic/js/1.79bef975.chunk.js": "/mrstatic/js/1.79bef975.chunk.js",
"mrstatic/js/1.79bef975.chunk.js.map": "/mrstatic/js/1.79bef975.chunk.js.map",
"mrstatic/css/2.6e778667.chunk.css": "/mrstatic/css/2.6e778667.chunk.css",
"mrstatic/js/2.cc634bc7.chunk.js": "/mrstatic/js/2.cc634bc7.chunk.js",
"mrstatic/js/2.cc634bc7.chunk.js.map": "/mrstatic/js/2.cc634bc7.chunk.js.map",
"mrstatic/js/2.a3224804.chunk.js": "/mrstatic/js/2.a3224804.chunk.js",
"mrstatic/js/2.a3224804.chunk.js.map": "/mrstatic/js/2.a3224804.chunk.js.map",
"mrstatic/css/3.bf839917.chunk.css": "/mrstatic/css/3.bf839917.chunk.css",
"mrstatic/js/3.887af415.chunk.js": "/mrstatic/js/3.887af415.chunk.js",
"mrstatic/js/3.887af415.chunk.js.map": "/mrstatic/js/3.887af415.chunk.js.map",
......@@ -105,8 +105,8 @@
"python-class.css": "/mrstatic/css/python-class.49baf51f.chunk.css",
"python-class.js": "/mrstatic/js/python-class.4b294dde.chunk.js",
"python-class.js.map": "/mrstatic/js/python-class.4b294dde.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.f221c510.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.f221c510.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.23263dde.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.23263dde.js.map",
"search.css": "/mrstatic/css/search.5716d9b3.chunk.css",
"search.js": "/mrstatic/js/search.ca3c9036.chunk.js",
"search.js.map": "/mrstatic/js/search.ca3c9036.chunk.js.map",
......@@ -200,6 +200,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.83588a5946f0f92bee11ca5bfa8c14f4.js": "/precache-manifest.83588a5946f0f92bee11ca5bfa8c14f4.js",
"precache-manifest.d9654826b74f54aa15562de308e3bbc7.js": "/precache-manifest.d9654826b74f54aa15562de308e3bbc7.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
......@@ -12,8 +12,8 @@ self.__precacheManifest = [
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision": "b7b7a92c234203d5e5c1",
"url": "/mrstatic/js/2.cc634bc7.chunk.js"
"revision": "4a5800bfd3ab05c55c00",
"url": "/mrstatic/js/2.a3224804.chunk.js"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
......@@ -84,16 +84,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/DrawDocument.d7cca39c.chunk.js"
},
{
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "cb7325409f4df13cd225",
"url": "/mrstatic/js/Examination.ab78ae34.chunk.js"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "760506f7926fbc56bd5d",
......@@ -236,8 +236,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.7f319191.chunk.js"
},
{
"revision": "fe2e7eaf81a8d8c3948f",
"url": "/mrstatic/js/runtime~main.f221c510.js"
"revision": "cf8dafb2e5afd9bf5cf2",
"url": "/mrstatic/js/runtime~main.23263dde.js"
},
{
"revision": "5bd31021066c9582f05b",
......@@ -436,11 +436,11 @@ self.__precacheManifest = [
"url": "/mrstatic/css/3.bf839917.chunk.css"
},
{
"revision": "b7b7a92c234203d5e5c1",
"revision": "4a5800bfd3ab05c55c00",
"url": "/mrstatic/css/2.6e778667.chunk.css"
},
{
"revision": "d9d5ec2d13eaa5fc1a7cc2a8d568869d",
"revision": "942791a4474843d0ba11fd2dd0ed3e3a",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.83588a5946f0f92bee11ca5bfa8c14f4.js"
"/precache-manifest.d9654826b74f54aa15562de308e3bbc7.js"
);
workbox.clientsClaim();
......
......@@ -408,10 +408,10 @@ class YearCourse extends Component {
// 跳转到我的宝箱列表页
toBoxList = () => {
const isLogin = !this.props.user.hasError
const {currentOpenId} = this.state
const {currentId} = this.state
let search = ''
if (currentOpenId) {
search = `?id=${currentOpenId}`
if (currentId) {
search = `?id=${currentId}`
}
if (isLogin) {
this.props.history.push(`/year/yearTreasure${search}`)
......
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