Cannot set request header in axios interceptor?

when logging in, the backend returns a token, to the front end with this token, for each request. I want to set it in the axios interceptor. The code is as follows:

:

I want to know how the interceptor can set Authorization to the request header

Mar.16,2021

config.headers ['access_token'] = getToken ()?

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