Custom vue element in traditional values

It has always been do not know how to pass custom values, has only the default, and finally found a way today.

For example, this upload pictures of control, want to take the current index in the past, so write. Other similar

:http-request="(file,fileList)=>{ taskAccessoryUpload(file,fileList, index)}"

Guess you like

Origin www.cnblogs.com/wqing/p/11609387.html