Explorar el Código

fix posting params

Nivek hace 2 años
padre
commit
6e579a2ab3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/Login.vue

+ 1 - 1
src/components/Login.vue

@@ -33,7 +33,7 @@
   async function handleLogin() {
   async function handleLogin() {
 
 
     try {
     try {
-      const response = await axios.post('/user/login', {
+      const response = await axios.post('/user/login', null, {
         params: {
         params: {
           phone: tel.value,
           phone: tel.value,
           password: password.value,
           password: password.value,