fix: service add image
This commit is contained in:
parent
e45de539a2
commit
8013c553ea
3 changed files with 7 additions and 0 deletions
BIN
public/service-add-image.png
Normal file
BIN
public/service-add-image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
|
|
@ -7,6 +7,7 @@ const statusToggle = defineModel('statusToggle');
|
|||
|
||||
defineProps<{
|
||||
isProduct?: boolean;
|
||||
isService?: boolean;
|
||||
}>();
|
||||
|
||||
defineEmits<{
|
||||
|
|
@ -27,6 +28,11 @@ defineEmits<{
|
|||
src="shop-add-image.png"
|
||||
style="object-fit: cover; width: 100%; height: 100%"
|
||||
/>
|
||||
<q-img
|
||||
v-else-if="isService"
|
||||
src="service-add-image.png"
|
||||
style="object-fit: cover; width: 100%; height: 100%"
|
||||
/>
|
||||
<q-icon
|
||||
v-else
|
||||
name="mdi-account full-height"
|
||||
|
|
|
|||
|
|
@ -1072,6 +1072,7 @@ watch(currentStatus, async () => {
|
|||
>
|
||||
<template #prepend>
|
||||
<ProfileUpload
|
||||
isService
|
||||
v-model:url-profile="profileUrl"
|
||||
v-model:status-toggle="statusToggle"
|
||||
v-model:profile-submit="profileSubmit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue