what I want to do is to add the token to request in the submmiting form. How can I achieve this? This is my code,the :action comes from 'vue-bind'.
<form method="post" enctype="multipart/form-data" :action="mainUrl+'/nameList'">
<ol>
<li><a href="http://120.55.113.9:8080/prizesearch-main/file/NameList.xls">download the files</a></li>
<li><input type="file" @change="jsReadFiles" :files="files" ref="inputfile" name="nameListFile"></li>
<li><input type="submit" value="upload the files"></li>
</ol>
</form>