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

updates

上级 9033119a
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
}, },
enrollQuery() { enrollQuery() {
const params = { const params = {
channel: 19960, channel: localStorage.getItem('channel_num') || 19960,
project_id: this.formInfo.newProjectId, project_id: this.formInfo.newProjectId,
name: this.formInfo.name, name: this.formInfo.name,
phone: this.formInfo.phone phone: this.formInfo.phone
......
...@@ -4,7 +4,11 @@ ...@@ -4,7 +4,11 @@
<script> <script>
import AppLayout from '@/components/layout' import AppLayout from '@/components/layout'
export default { export default {
name: 'app-layout-normal', components: { AppLayout },
components: { AppLayout } mounted() {
if (this.$route.query.channel_num) {
localStorage.setItem('channel_num', this.$route.query.channel_num)
}
}
} }
</script> </script>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论