fix list style
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
alt-text="客户照片"
|
||||
:loading="isPhotoUploading"
|
||||
:preview="false"
|
||||
@add="photoInputRef?.click"
|
||||
@add="openPhotoPicker"
|
||||
@clear="photoTempFileId = ''"
|
||||
/>
|
||||
</t-form-item>
|
||||
@@ -264,6 +264,10 @@ const selectedAreas = ref<BodyAreaValue>(createBodyAreaValue());
|
||||
const formData = reactive<Customer>({
|
||||
});
|
||||
|
||||
function openPhotoPicker(): void {
|
||||
photoInputRef.value?.click();
|
||||
}
|
||||
|
||||
const canSubmit = computed(() => formData.name?.trim());
|
||||
|
||||
async function loadDetail() {
|
||||
@@ -334,6 +338,7 @@ async function doSubmit(): Promise<void> {
|
||||
try {
|
||||
formData.conditioningPart = selectedAreas.value;
|
||||
formData.attachmentList = photoTempFileId.value ? [{
|
||||
attachType: "PHOTO",
|
||||
tempFileId: photoTempFileId.value
|
||||
}] : undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user