Skip to content

Commit

Permalink
Auto
Browse files Browse the repository at this point in the history
  • Loading branch information
limdblur authored Sep 14, 2017
1 parent d9367ae commit 24273b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vue-core-image-upload.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="g-core-image-upload-btn">
<slot>{{text}}</slot>
<form class="g-core-image-upload-form" v-show="!hasImage" method="post" enctype="multipart/form-data" action="/api2/common_user/cropHeadUrl" style="display: block; cursor: pointer; position: absolute; left: 0px; top: 0px; width: 1242px; height: 61px; opacity: 0; margin: 0px; padding: 0px; overflow: hidden;">
<form class="g-core-image-upload-form" v-show="!hasImage" method="post" enctype="multipart/form-data" action="/api2/common_user/cropHeadUrl" style="display: block; cursor: pointer; position: absolute; left: 0px; top: 0px; opacity: 0; margin: 0px; padding: 0px; overflow: hidden;">
<input v-bind:disabled="uploading" v-bind:id="'g-core-upload-input-' + formID" v-bind:name="name" v-bind:multiple="multiple" type="file" v-bind:accept="inputAccept" v-on:change="change" style="width: 100%; height: 100%;">
</form>
<div class="g-core-image-corp-container" v-bind:id="'vciu-modal-' + formID" v-show="hasImage">
Expand Down

1 comment on commit 24273b2

@limdblur
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Size of entry div adaptive, resolve when style height big than 61px can't click whole pic problem.

Please sign in to comment.