sajjad 3 years ago
parent f73b51279b
commit 65331314b9

@ -9,7 +9,7 @@ export const getJson = (data) => ({
arm_diameter: data.arm_diameter,
leg_diameter: data.leg_diameter,
details: data.details,
profile: data.profile ? data.profile : 'https://via.placeholder.com/600',
profile: data.profile,
address: data.address,
email: data.email,
cell_number: data.cell_number,

@ -6,6 +6,8 @@
:stencil-props="stencilProps"
@change="onChangeCropper"
:src="thumbnail"
:canvas="false"
:check-orientation="false"
/>
<!-- <img :src="thumbnail" alt="new brand image"/>-->
</div>
@ -85,7 +87,11 @@ export default {
},
thumbnail: {
get() {
if(this.url) {
return this.url;
} else {
return DefaultImage
}
},
set(value) {
this.$emit("update:url", value);

Loading…
Cancel
Save