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

11

parent 92ec3ded
...@@ -87,6 +87,11 @@ ...@@ -87,6 +87,11 @@
<script> <script>
/* eslint-disable */ /* eslint-disable */
import ConfirmSignUp from "c/index/SignUp/ConfirmSignUp"; import ConfirmSignUp from "c/index/SignUp/ConfirmSignUp";
import {
SERVER_WS_URL
} from '@/config/server'
import { getAccount } from "r/index/signUp"; import { getAccount } from "r/index/signUp";
import { signUpInit } from "r/index/signUp"; import { signUpInit } from "r/index/signUp";
import { getWxConfig } from "r/index/pay"; import { getWxConfig } from "r/index/pay";
...@@ -172,6 +177,7 @@ export default { ...@@ -172,6 +177,7 @@ export default {
} }
let token = this.token; let token = this.token;
var wssURL = SERVER_WS_URL + "/order?token=" + token + "&channel=pc"; var wssURL = SERVER_WS_URL + "/order?token=" + token + "&channel=pc";
console.log(wssURL);
this.websocket = new WebSocket(wssURL); this.websocket = new WebSocket(wssURL);
console.log(this.websocket); console.log(this.websocket);
// 连接发生错误的回调方法 // 连接发生错误的回调方法
......
...@@ -30,7 +30,11 @@ export default { ...@@ -30,7 +30,11 @@ export default {
data() { data() {
return {}; return {};
}, },
created() {}, created() {
console.log(123)
var url = location.search;
console.log(url)
},
methods: { methods: {
handleDownload() { handleDownload() {
signUpInit({}).then((res) => { signUpInit({}).then((res) => {
......
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