name/bio/avatar/banner edit support
This commit is contained in:
parent
b305748a92
commit
f79c61c4e7
10 changed files with 203 additions and 57 deletions
|
|
@ -22,6 +22,9 @@ const ImageCropper = {
|
|||
},
|
||||
cancelButtonLabel: {
|
||||
type: String
|
||||
},
|
||||
aspectRatio: {
|
||||
type: Number
|
||||
}
|
||||
},
|
||||
data () {
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
/>
|
||||
<cropper-selection
|
||||
ref="cropperSelection"
|
||||
initial-coverage="1"
|
||||
aspect-ratio="1"
|
||||
initial-coverage="0.9"
|
||||
:aspect-ratio="aspectRatio"
|
||||
movable
|
||||
resizable
|
||||
@change="onCropperSelectionChange"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue