Problems after webpack package

help others write a simple mini application, third-party services used in the background, and know that cloud
needs to bring a request header to request data when using third-party services. Everything is normal in the development environment

.

run build is then deployed to the local server. Check the network through chrome and find that the request header is not marked with
. I would like to ask why, after packaging, why the header of axios is gone

clipboard.png

    getOrder (offset = 0) {
      this.axios.get("/api/oserve/v1/table/62580/record/", {
        headers: {"Authorization": "Bearer 9966fc6ce5edf6a7b4b4b2fe188c3dbea07287b4"},
        params: {
          limit: 10,
          order_by: "-created_at",
          offset: offset
        }
      }).then(res => {
May.16,2022

provisional headers are shown occurs in several ways:

  1. Cross-domain, request is intercepted by browser
  2. request is intercepted by browser plug-in
  3. Server error or timeout, no real return
  4. strongly cache from disk cache or from memory cache

Please check the reasons one by one.
I guess it belongs to category 1. The request method in your screenshot is option, not get .


Cross-domain, this request is a pre-check request.

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-1e4bb9b-44e50.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-1e4bb9b-44e50.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?