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

updates

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