Merge branch 'master' of gitlab.com:mohit.panjvani/crater-web into fix_all_customer_load

This commit is contained in:
asift798
2022-02-15 18:41:57 +05:30
187 changed files with 2310 additions and 1794 deletions

View File

@ -20,6 +20,7 @@
>
{{ label }}
</label>
<p v-if="description" class="text-gray-500">{{ description }}</p>
</div>
</div>
</template>
@ -32,6 +33,10 @@ const props = defineProps({
type: String,
default: '',
},
description: {
type: String,
default: '',
},
modelValue: {
type: [Boolean, Array],
default: false,

View File

@ -33,6 +33,7 @@
:name="inputFieldName"
:accept="accept"
class="absolute z-10 w-full h-full opacity-0 cursor-pointer"
@click="$event.target.value=null"
@change="
onChange(
$event.target.name,
@ -557,6 +558,7 @@ function onAvatarRemove(image) {
function onFileRemove(index) {
localFiles.value.splice(index, 1)
emit('remove', index)
}
function getDefaultAvatar() {