Axios post request parameters cannot be passed?

/ / axios.js

import axios from "axios"
import qs from "qs"

const service = axios.create({
  baseURL: "//askpre.hishixi.cn/api",
  timeout: 15000,
  transformRequest: [function (data) {
    data = qs.stringify({});
    return data;
  }]
})
service.defaults.withCredentials = true
// POST
service.interceptors.request.use((config) => {
  return config
}, (error) => {
  return Promise.reject(error)
})

// 
service.interceptors.response.use(function (res) {
  return res.data
}, function (error) {
  return Promise.reject(error)
})

export default service

/ / component

import axios from "../plugins/axios.js"
axios.post("abc", {
  page: 1
})
Mar.13,2021

transformRequest's error in handling data

  

describe it more clearly.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e48aa1-43282.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e48aa1-43282.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?