问题描述
我使用了ElementUI的Upload Component,我需要仅在* .apk中限制上传文件的文件类型,然后编写如下代码:
<el-upload
class="upload-demo"
drag
action="uploadurl"
multiple
:limit="1"
:file-list="files"
:accept=".apk,.APK"
:auto-upload="false"
>
<i class="el-icon-upload" />
<div class="el-upload__text">Drag files here,or <em>click to upload</em></div>
<div slot="tip" class="el-upload__tip">Only support .apk files</div>
</el-upload>
然后,VS Code注意到'v-bind' directives require an attribute value.
就是这样。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)