Loading... <div class="tip share">请注意,本文编写于 271 天前,最后修改于 244 天前,其中某些信息可能已经过时。</div> Element UI 中 el-upload 设置参数,有时候后端接口是需要我们传递某些信息的,别再用?了哈。 以前一直是直接在action里直接加?参数=xxx 刚查看文档,原来自带有一个属性就可以传参数。 ```vue :data="{参数名:变量名}" ``` <hr class="content-copyright" style="margin-top:50px" /><blockquote class="content-copyright" style="font-style:normal"><p class="content-copyright">版权属于:乐心湖's Blog</p><p class="content-copyright">本文链接:<a class="content-copyright" href="https://www.xn2001.com/archives/527.html">https://www.xn2001.com/archives/527.html</a></p><p class="content-copyright">声明:博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh" target="_blank" rel="nofollow noopener noopener" one-link-mark="yes">CC BY-SA 4.0 协议</a> ,转载请注明出处!</p></blockquote> 腾讯云社区邀请各位技术博主加入,福利多多噢! Last modification:August 17th, 2020 at 09:30 pm © 允许规范转载 Support 如果觉得我的文章对你有用,请随意赞赏 ×Close Appreciate the author Sweeping payments Pay by AliPay Pay by WeChat