Iview how to upload an image to request the image path as a parameter

the parameters required for the interface provided by the background are

{
    name: aaa,
    url : "aaa.img",//
    id :0
}

I took a look at the upload component of iview. It seems that the interface address is written down directly in an action. How to implement the path as a parameter

Apr.11,2021

Aren't there other parameters in

api
https://www.iviewui.com/compo.

?

clipboard.png


extra parameters attached to data upload
name of file field uploaded by name

look at the following component api

you need to bind these two properties in the component
name:aaa
data:updata

updata:{
    id:
    url:
}
Menu