Commit 0b2f6e66 by xuzhenghua

id

parents 733bf308 c8d1a8aa
......@@ -81,8 +81,8 @@
"detail.js": "/mrstatic/js/detail.673da6a9.chunk.js",
"detail.js.map": "/mrstatic/js/detail.673da6a9.chunk.js.map",
"main.css": "/mrstatic/css/main.bd7bbf45.chunk.css",
"main.js": "/mrstatic/js/main.28c81e58.chunk.js",
"main.js.map": "/mrstatic/js/main.28c81e58.chunk.js.map",
"main.js": "/mrstatic/js/main.108046f6.chunk.js",
"main.js.map": "/mrstatic/js/main.108046f6.chunk.js.map",
"myorders.css": "/mrstatic/css/myorders.179a42fc.chunk.css",
"myorders.js": "/mrstatic/js/myorders.b7a60cb5.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.b7a60cb5.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.a55ed9244109f605523e6b5e3f9048e4.js": "/precache-manifest.a55ed9244109f605523e6b5e3f9048e4.js",
"precache-manifest.6deae2989ed76cd6addc50d1b5cffc03.js": "/precache-manifest.6deae2989ed76cd6addc50d1b5cffc03.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.
......@@ -216,8 +216,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/system-notices.6bf87843.chunk.js"
},
{
"revision": "cb41416ee58874451d8d",
"url": "/mrstatic/js/main.28c81e58.chunk.js"
"revision": "fed8a98a28a65ba4def2",
"url": "/mrstatic/js/main.108046f6.chunk.js"
},
{
"revision": "55f86e36acc379ba30d3",
......@@ -300,7 +300,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/1.781074ea.chunk.css"
},
{
"revision": "cb41416ee58874451d8d",
"revision": "fed8a98a28a65ba4def2",
"url": "/mrstatic/css/main.bd7bbf45.chunk.css"
},
{
......@@ -440,7 +440,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.bf839917.chunk.css"
},
{
"revision": "f5d82759bf29f3e41ce007aee7a83452",
"revision": "ba0ca3223ec8a6169b18e0a612897796",
"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.a55ed9244109f605523e6b5e3f9048e4.js"
"/precache-manifest.6deae2989ed76cd6addc50d1b5cffc03.js"
);
workbox.clientsClaim();
......
......@@ -33,11 +33,15 @@ class App extends Component {
pathnameBlacklist = ['/country', '/passport']
firstLoad = true
// componentWillMount(){
// if (!getParam('version')) {
// this.getqimoClientId()
// }
// }
componentWillMount(){
if (!getParam('version')) {
if(!localStorage.getItem('qimoClientIdedu')){
this.getqimoClientId()
} else {
window.qimoClientId = localStorage.getItem('qimoClientIdedu')
}
}
}
componentDidMount() {
this.umengStatistic()
//平台信息
......@@ -286,6 +290,7 @@ class App extends Component {
.then(res => {
if (res.data.code == 200) {
window.qimoClientId = res.data.data.userId
localStorage.setItem('qimoClientIdedu', res.data.data.userId)
}
})
.catch(function () {
......
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