fix not found item label

This commit is contained in:
Timi
2026-10-23 01:44:39 +08:00
parent a69f2e17fa
commit ba6a99b137
+4 -1
View File
@@ -111,6 +111,9 @@
拍积分卡
</t-button>
</template>
<template #item-label="{ item }">
<span v-text="getAttachmentTypeText(item.attachType)" />
</template>
</attachment-selector>
<div class="tips orange" v-if="!hasCustomerDeletePermission">当前账户权限编辑客户需要上传照片和积分卡</div>
</div>
@@ -242,7 +245,7 @@ import { useCurrentStoreStore } from "@/store/currentStoreStore";
import type { BodyAreaValue, Customer, CustomerAttachmentType, EditableCustomerPhoto } from "@/types/Customer";
import type { Tag } from "@/types/Tag";
import { bodyAreaLabelMap } from "@/utils/bodyArea";
import { getAttachmentReadURL } from "@/utils/attachment";
import { getAttachmentReadURL, getAttachmentTypeText } from "@/utils/attachment";
import { normalizeBodyAreaValue } from "@/utils/customer";
import { corePermissionCodes, gaoRoleCodes, permissionCodes } from "@/utils/permission";
import { compressUploadImageList } from "@/utils/imageCompression";