Commit d8cc1979 authored by 杨梦雪's avatar 杨梦雪

111

parent 4a1c96f4
...@@ -53,8 +53,8 @@ export default { ...@@ -53,8 +53,8 @@ export default {
if (res.data.code !== 200) return this.$message.error(res.data.message); if (res.data.code !== 200) return this.$message.error(res.data.message);
this.$emit("getstatus", res.data.status); this.$emit("getstatus", res.data.status);
this.$message.success(res.data.message); this.$message.success(res.data.message);
let code = this.$store.state.indexIdentity; // let code = this.$store.state.indexIdentity;
this.$router.push("/signUp/invitation?code="+code); // this.$router.push("/signUp/invitation?code="+code);
}); });
}, },
getCams() { getCams() {
......
...@@ -1003,8 +1003,8 @@ export default { ...@@ -1003,8 +1003,8 @@ export default {
// console.log(3333); // console.log(3333);
this.$emit("getstatus", res.data.status); this.$emit("getstatus", res.data.status);
this.$message.success(res.data.message); this.$message.success(res.data.message);
let code = this.$store.state.indexIdentity; // let code = this.$store.state.indexIdentity;
this.$router.push("/signUp/check?code=" + code); // this.$router.push("/signUp/check?code=" + code);
this.referForm = res.data.data; this.referForm = res.data.data;
}); });
}); });
......
...@@ -95,10 +95,10 @@ function checkCam(code, cb) { ...@@ -95,10 +95,10 @@ function checkCam(code, cb) {
// console.log(cb, 'cb') // console.log(cb, 'cb')
// const code=store.status.indexIdentity // const code=store.status.indexIdentity
store.state.indexIdentity = code; store.state.indexIdentity = code;
// console.log(code, 'code') console.log(code, 'code')
if (!code) { if (!code) {
Message({ Message({
message: "请访问正确的营地链接地址1", message: "请访问正确的营地链接地址",
type: 'waring' type: 'waring'
}); });
cb && cb(false); cb && cb(false);
......
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
}; };
}, },
created() { created() {
// this.$emit("getStatus", false, 2);
}, },
watch: { watch: {
......
...@@ -22,7 +22,9 @@ export default { ...@@ -22,7 +22,9 @@ export default {
data() { data() {
return {}; return {};
}, },
created() {}, created() {
// this.$emit("getStatus", false, 1);
},
watch: {}, watch: {},
methods: {}, methods: {},
}; };
......
...@@ -89,8 +89,9 @@ export default { ...@@ -89,8 +89,9 @@ export default {
// }, // },
}, },
created() { created() {
// this.ToSignUp(this.index);
this.getStatus(); this.getStatus();
this.ToSignUp(this.index);
}, },
mounted() { mounted() {
window.addEventListener("scroll", this.handleScrollX, true); window.addEventListener("scroll", this.handleScrollX, true);
...@@ -104,7 +105,7 @@ export default { ...@@ -104,7 +105,7 @@ export default {
getStatus(val) { getStatus(val) {
// console.log(val, "index_type"); // console.log(val, "index_type");
this.index_status = val; this.index_status = val;
this.ToSignUp(); this.ToSignUp(this.campindex_type);
}, },
ToSignUp(index) { ToSignUp(index) {
// console.log(index,'index') // console.log(index,'index')
......
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