Commit 4ea4cf6c by zhanghaozhe

test

parent bfdc05a0
......@@ -45,8 +45,8 @@
"detail.js": "/mrstatic/js/detail.90db0c51.chunk.js",
"detail.js.map": "/mrstatic/js/detail.90db0c51.chunk.js.map",
"main.css": "/mrstatic/css/main.9d631122.chunk.css",
"main.js": "/mrstatic/js/main.8baf9234.chunk.js",
"main.js.map": "/mrstatic/js/main.8baf9234.chunk.js.map",
"main.js": "/mrstatic/js/main.2d296bf0.chunk.js",
"main.js.map": "/mrstatic/js/main.2d296bf0.chunk.js.map",
"myorders.css": "/mrstatic/css/myorders.3ae12dec.chunk.css",
"myorders.js": "/mrstatic/js/myorders.41f7fcf7.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.41f7fcf7.chunk.js.map",
......@@ -130,6 +130,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.386439576a4bbc2598a5baea63c66901.js": "/precache-manifest.386439576a4bbc2598a5baea63c66901.js",
"precache-manifest.df491aeed230d039c6dffcb2c50f6f48.js": "/precache-manifest.df491aeed230d039c6dffcb2c50f6f48.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>七月在线 - 国内领先的人工智能教育平台</title><link href="/mrstatic/css/25.aebbab68.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.9d631122.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/api.js"></script><script>!function(i){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],c=0,f=[];c<n.length;c++)t=n[c],l[t]&&f.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i[r]=a[r]);for(p&&p(e);f.length;)f.shift()();return u.push.apply(u,o||[]),d()}function d(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(u.splice(r--,1),e=b(b.s=t[0]))}return e}var t={},s={19:0},l={19:0},u=[];function b(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return i[e].call(r.exports,r,r.exports,b),r.l=!0,r.exports}b.e=function(u){var e=[];s[u]?e.push(s[u]):0!==s[u]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[u]&&e.push(s[u]=new Promise(function(e,n){for(var r="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[u]||u)+"."+{0:"31d6cfe0",1:"718dff83",2:"f2f19957",3:"c0829f24",4:"2e7d81ca",5:"f2cc3163",6:"31d6cfe0",7:"8bb031ea",8:"31d6cfe0",9:"e5315535",10:"cda7a495",11:"2649d43f",12:"3a4dbb7a",13:"bef8c404",14:"de0ae9dc",15:"4c28ce89",17:"3ae12dec",18:"1daf107b",20:"fab97849",21:"f09a5959",22:"5e9927d1",23:"49988cae",24:"b57a1aec",26:"31d6cfe0",27:"4c706a4e",28:"2471f477",29:"0bb224f2",30:"5ed15c7e",31:"ecbb6f9a",32:"278ad3b1",33:"03fe7b57"}[u]+".chunk.css",a=b.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var c=(i=t[o]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(c===r||c===a))return e()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){var i;if((c=(i=f[o]).getAttribute("data-href"))===r||c===a)return e()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=e,d.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+u+" failed.\n("+r+")");t.request=r,delete s[u],d.parentNode.removeChild(d),n(t)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)}).then(function(){s[u]=0}));var t=l[u];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[u]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.src=b.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[u]||u)+"."+{0:"f8428c8d",1:"a9e50897",2:"6f7ca6c7",3:"fa9dbb5b",4:"b7058372",5:"453623b1",6:"8e62029d",7:"92a50e9d",8:"bbd472de",9:"471beb4c",10:"f43cbf0b",11:"18f45ebf",12:"e6797d4b",13:"3140abcd",14:"b44bde36",15:"90db0c51",17:"41f7fcf7",18:"f38975c6",20:"9324f19a",21:"f70e8f5b",22:"b3de0f96",23:"ac879075",24:"4b6e965f",26:"3d0135e5",27:"7afb7f39",28:"0ae42bff",29:"19769885",30:"31e6ce32",31:"3ae8f0e7",32:"89509b89",33:"40c30673"}[u]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(c);var r=l[u];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+u+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[u]=void 0}};var c=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},b.m=i,b.c=t,b.d=function(e,r,t){b.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(r,e){if(1&e&&(r=b(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)b.d(t,n,function(e){return r[e]}.bind(null,n));return t},b.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(r,"a",r),r},b.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},b.p="/",b.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var a=0;a<r.length;a++)e(r[a]);var p=n;d()}([])</script><script src="/mrstatic/js/25.fa7e7d3d.chunk.js"></script><script src="/mrstatic/js/main.8baf9234.chunk.js"></script></body></html>
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>七月在线 - 国内领先的人工智能教育平台</title><link href="/mrstatic/css/25.aebbab68.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.9d631122.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/api.js"></script><script>!function(i){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],c=0,f=[];c<n.length;c++)t=n[c],l[t]&&f.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i[r]=a[r]);for(p&&p(e);f.length;)f.shift()();return u.push.apply(u,o||[]),d()}function d(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(u.splice(r--,1),e=b(b.s=t[0]))}return e}var t={},s={19:0},l={19:0},u=[];function b(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return i[e].call(r.exports,r,r.exports,b),r.l=!0,r.exports}b.e=function(u){var e=[];s[u]?e.push(s[u]):0!==s[u]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[u]&&e.push(s[u]=new Promise(function(e,n){for(var r="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[u]||u)+"."+{0:"31d6cfe0",1:"718dff83",2:"f2f19957",3:"c0829f24",4:"2e7d81ca",5:"f2cc3163",6:"31d6cfe0",7:"8bb031ea",8:"31d6cfe0",9:"e5315535",10:"cda7a495",11:"2649d43f",12:"3a4dbb7a",13:"bef8c404",14:"de0ae9dc",15:"4c28ce89",17:"3ae12dec",18:"1daf107b",20:"fab97849",21:"f09a5959",22:"5e9927d1",23:"49988cae",24:"b57a1aec",26:"31d6cfe0",27:"4c706a4e",28:"2471f477",29:"0bb224f2",30:"5ed15c7e",31:"ecbb6f9a",32:"278ad3b1",33:"03fe7b57"}[u]+".chunk.css",a=b.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var c=(i=t[o]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(c===r||c===a))return e()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){var i;if((c=(i=f[o]).getAttribute("data-href"))===r||c===a)return e()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=e,d.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+u+" failed.\n("+r+")");t.request=r,delete s[u],d.parentNode.removeChild(d),n(t)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)}).then(function(){s[u]=0}));var t=l[u];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[u]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.src=b.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[u]||u)+"."+{0:"f8428c8d",1:"a9e50897",2:"6f7ca6c7",3:"fa9dbb5b",4:"b7058372",5:"453623b1",6:"8e62029d",7:"92a50e9d",8:"bbd472de",9:"471beb4c",10:"f43cbf0b",11:"18f45ebf",12:"e6797d4b",13:"3140abcd",14:"b44bde36",15:"90db0c51",17:"41f7fcf7",18:"f38975c6",20:"9324f19a",21:"f70e8f5b",22:"b3de0f96",23:"ac879075",24:"4b6e965f",26:"3d0135e5",27:"7afb7f39",28:"0ae42bff",29:"19769885",30:"31e6ce32",31:"3ae8f0e7",32:"89509b89",33:"40c30673"}[u]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(c);var r=l[u];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+u+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[u]=void 0}};var c=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},b.m=i,b.c=t,b.d=function(e,r,t){b.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(r,e){if(1&e&&(r=b(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)b.d(t,n,function(e){return r[e]}.bind(null,n));return t},b.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(r,"a",r),r},b.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},b.p="/",b.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var a=0;a<r.length;a++)e(r[a]);var p=n;d()}([])</script><script src="/mrstatic/js/25.fa7e7d3d.chunk.js"></script><script src="/mrstatic/js/main.2d296bf0.chunk.js"></script></body></html>
\ 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.
......@@ -76,16 +76,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Preferential.f43cbf0b.chunk.js"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "8de89316d34b58458583",
"url": "/mrstatic/js/SearchResult.18f45ebf.chunk.js"
},
{
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "c41d0b5c76abb88af3d0",
......@@ -120,8 +120,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/31.3ae8f0e7.chunk.js"
},
{
"revision": "8ae8d6072c94f240a0c2",
"url": "/mrstatic/js/main.8baf9234.chunk.js"
"revision": "e2364eaa7a5138146d9f",
"url": "/mrstatic/js/main.2d296bf0.chunk.js"
},
{
"revision": "94ff3d564c2e67dc7371",
......@@ -232,7 +232,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/31.ecbb6f9a.chunk.css"
},
{
"revision": "8ae8d6072c94f240a0c2",
"revision": "e2364eaa7a5138146d9f",
"url": "/mrstatic/css/main.9d631122.chunk.css"
},
{
......@@ -292,7 +292,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/Classify.f2f19957.chunk.css"
},
{
"revision": "d52a26edb563dfc04d9b0271df44a3ea",
"revision": "069a9d50ccfb9f226f7e8aae966578ef",
"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.386439576a4bbc2598a5baea63c66901.js"
"/precache-manifest.df491aeed230d039c6dffcb2c50f6f48.js"
);
workbox.clientsClaim();
......
......@@ -11,7 +11,6 @@ const PrivateRoute = ({component: Component, path, user, ...rest}) => {
const [authenticated, setAuthorization] = useState(false)
useEffect(() => {
debugger
let _auth = !user.hasError && user.code != 4040
typeof _auth !== 'undefined' && (setAuthorization(_auth) , setLoadingState(false))
}, [user.hasError])
......
......@@ -11,7 +11,6 @@ function RouteMiddlePage(props) {
useEffect(() => {
let {user, location, history} = props
debugger
/*if (history.action === 'POP' && history.length > 2) {
history.goBack();
return
......
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