mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 06:09:11 +08:00
优化代码
This commit is contained in:
parent
a6bdcd72e1
commit
b7a2d3a519
@ -66,7 +66,7 @@
|
||||
<span class="btn btn-default btn-file" v-on:click="_uploadPhoto($event)">
|
||||
<span class="fileinput-new">上传照片</span>
|
||||
</span>
|
||||
<input type="file" class="file" accept="images/*" id="uploadOwnerPhoto" hidden
|
||||
<input type="file" class="file" accept=".jpg" id="uploadOwnerPhoto" hidden
|
||||
v-on:change="_choosePhoto($event)">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -205,7 +205,7 @@
|
||||
},
|
||||
_uploadPhoto: function (event) {
|
||||
console.log('上传图片');
|
||||
vc.component.addOwnerInfo.ownerPhoto = "";
|
||||
//vc.component.addOwnerInfo.ownerPhoto = "";
|
||||
$("#uploadOwnerPhoto").trigger("click")
|
||||
},
|
||||
_choosePhoto: function (event) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user