提交 c440e946 authored 作者: matian's avatar matian

updates

上级 45f84f33
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
}, },
enrollQuery() { enrollQuery() {
const params = { const params = {
channel: this.$route.query.channel_num || 19962, channel: localStorage.getItem('channel_num') || 19962,
project_id: this.formInfo.projectId === '9999' ? '1016' : this.formInfo.projectId, project_id: this.formInfo.projectId === '9999' ? '1016' : this.formInfo.projectId,
name: this.formInfo.name, name: this.formInfo.name,
phone: this.formInfo.phone phone: this.formInfo.phone
......
...@@ -24,6 +24,9 @@ export default { ...@@ -24,6 +24,9 @@ export default {
} }
window.history.pushState(state, 'title', '') window.history.pushState(state, 'title', '')
} }
if (this.$route.query.channel_num) {
localStorage.setItem('channel_num', this.$route.query.channel_num)
}
} }
} }
</script> </script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论