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

111

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