828

parent 0d76b9fc
...@@ -83,11 +83,6 @@ export default { ...@@ -83,11 +83,6 @@ export default {
} }
} }
}; };
if(sessionStorage.getItem('clickTag')){
console.log(JSON.parse(localStorage.getItem("userDesc")))
let query = { shopId: this.$route.query.shopId, type: "" };
sessionStorage.setItem('clickTag','')
}
if (!this.$route.query.shopId) { if (!this.$route.query.shopId) {
this.$router.push("error"); this.$router.push("error");
return; return;
...@@ -131,8 +126,7 @@ export default { ...@@ -131,8 +126,7 @@ export default {
query.cct_user_id = comment.getParamhref().cct_user_id; query.cct_user_id = comment.getParamhref().cct_user_id;
} }
console.log(json); console.log(json);
bindMobileApi(json) bindMobileApi(json).then(data => {
.then(data => {
getUserDetailApi().then(res => { getUserDetailApi().then(res => {
localStorage.setItem("userDesc", JSON.stringify(res)); localStorage.setItem("userDesc", JSON.stringify(res));
this.$router.push({ this.$router.push({
...@@ -140,8 +134,7 @@ export default { ...@@ -140,8 +134,7 @@ export default {
query: query query: query
}); });
}); });
}) }).catch(res => {});
.catch(res => {});
}, },
refImgCode() { refImgCode() {
this.$refs.imgCode.src = "/api/public/img/verify?flag=" + Math.random(); this.$refs.imgCode.src = "/api/public/img/verify?flag=" + Math.random();
......
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