The address in the element-ui upload file action is not easy to use.

I use the axios request and encapsulate this request

use action to put the address on the el-upload document

but now I am requested by a reverse proxy locally. I also write action as a dead address, which will show cross-domain

.

but it"s wrong for me to change the antion address dynamically

clipboard.png

clipboard.png

clipboard.png

it"s not the quotation marks. Maybe I didn"t make myself clear

the interface I use for reverse proxy requests when developing locally

if you put this address in the test environment action, it should be useful because there is no cross-domain problem

but now if you want to test locally, then the whole request, including action, cannot directly write the address

.

how to make a reverse proxy for action to request this address

Apr.01,2021

: action= "unloadUrl" is missing double quotes.
does your local proxy setting set proxyTable in config? If the proxy is set up, it can also be uploaded locally


upstairs.

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