1
lzhe
2024-03-28 e7bc3a89c88c161fb9de47f2417dfa5e3c042e8f
src/utils/request.js
@@ -141,6 +141,7 @@
    */
    postJ: function(url, data={}, config={}) {
      return new Promise((resolve, reject) => {
         console.log(qsStringify(data))
         axios({
            method: 'post',
            url: url,
@@ -204,7 +205,7 @@
         axios({
            method: 'delete',
            url: url,
            data: data,
            params: data,
            ...config
         }).then((response) => {
            resolve(response.data);