add request item to login form
This commit is contained in:
parent
57fce6d6cc
commit
95f84ec391
2 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ interface TextMessage {
|
||||||
}
|
}
|
||||||
|
|
||||||
const ip = 'ws://localhost';
|
const ip = 'ws://localhost';
|
||||||
const port = 8081;
|
const port = 8080;
|
||||||
const reconnectTimeout = 3000; //ms
|
const reconnectTimeout = 3000; //ms
|
||||||
let socket: WebSocket;
|
let socket: WebSocket;
|
||||||
let success = false;
|
let success = false;
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@ export default defineComponent({
|
||||||
|
|
||||||
const submit = async () => {
|
const submit = async () => {
|
||||||
const payload = {
|
const payload = {
|
||||||
|
request: "login",
|
||||||
email: email.value,
|
email: email.value,
|
||||||
password: password.value
|
password: password.value
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue