Arvin.qi 6 lat temu
rodzic
commit
bbc8990652
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      plugins/nuxtAxios.js

+ 1 - 0
plugins/nuxtAxios.js

@@ -17,6 +17,7 @@ export default function ({ $axios, redirect, req, ...args }) {
         }
         // stringify post data
         if (config.method === 'post') {
+            console.log(config);
             // config.headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8';
             const data = config.data;
             const cookie = config.headers.cookie || config.headers.common.cookie || '';