Commit 0a85ae56 authored by 杨梦雪's avatar 杨梦雪

修改

parent 67a4a256
......@@ -51,7 +51,7 @@
<div class="tipsContent">
<div>备注:</div>
<div>1.每个邀请码仅能绑定一个用户。</div>
<div>2.如没有邀请码请直接点击【下一步】跳过此步骤继续报名。</div>
<div>2.如没有邀请码请直接点击【提交/跳过】跳过此步骤继续报名。</div>
</div>
<!-- <div>备注:</div>
<div>1,每个邀请码仅能绑定一个用户。</div>
......@@ -60,7 +60,7 @@
</div>
<div class="btn">
<el-button @click="next()">下一步</el-button>
<el-button @click="next()">提交/跳过</el-button>
</div>
</div>
</template>
......
......@@ -187,7 +187,7 @@
<el-form-item label="电子邮箱" prop="email">
<el-input
ref="email"
v-model="referForm.email"
v-model="email"
placeholder="填写电子邮箱"
size="small"
:disabled="true"
......@@ -410,6 +410,7 @@ export default {
school_phone: null,
},
phone: "",
email: "",
schoolName: {},
referInfoRules: {
name: [{ required: true, message: "姓名不能为空!", trigger: "blur" }],
......@@ -563,7 +564,7 @@ export default {
created() {
const code = this.$store.state.indexIdentity;
this.phone = window.localStorage.getItem("phone" + code); //本地取用户手机号
this.referForm.email = window.localStorage.getItem("email" + code); //本地取用户手机号
this.email = window.localStorage.getItem("email" + code); //本地取用户邮箱
let signUpFile = window.localStorage.getItem(
"sign_up_file_" + window.localStorage.getItem("phone" + code) + code
);
......@@ -900,7 +901,8 @@ export default {
let code = this.$store.state.indexIdentity;
window.localStorage.setItem(
"sign_up_file_" +
+window.localStorage.getItem("phone" + code)+code,
+window.localStorage.getItem("phone" + code) +
code,
JSON.stringify(this.fileList)
);
})
......
......@@ -304,7 +304,7 @@ export default {
// token存储
window.localStorage.setItem("index-token" + code, res.data.token);
window.localStorage.setItem("phone" + code, this.registerForm.phone);
window.localStorage.setItem("email" + code, this.registerForm.email);
window.localStorage.setItem("email" + code, this.registerForm.email);//邮箱
// 报名信息
window.localStorage.setItem("camp_name" + code, res.data.cam.name);
//获取主题色
......
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