Skip to content

Commit

Permalink
[fix] v-disabled => :disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li committed Apr 24, 2016
1 parent f0000d7 commit a6b8699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/form/upload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</ul>
<form class="upload-operate" enctype="multipart/form-data">
<button class="btn btn-default btn-file"><input type="file" name="picture[]" @change="onChange($event)" multiple><span class="d-icon-plus">+</span>添加图片</button>
<button class="btn btn-primary" @click="upload()" v-disabled="uploading">{{uploading ? '正在上传...' : '上传'}}</button>
<button class="btn btn-primary" @click="upload()" :disabled="uploading">{{uploading ? '正在上传...' : '上传'}}</button>
</form>
<!-- 上传结果 -->
<div class="upload-result">
Expand Down

0 comments on commit a6b8699

Please sign in to comment.