fix not found item label
This commit is contained in:
@@ -111,6 +111,9 @@
|
|||||||
拍积分卡
|
拍积分卡
|
||||||
</t-button>
|
</t-button>
|
||||||
</template>
|
</template>
|
||||||
|
<template #item-label="{ item }">
|
||||||
|
<span v-text="getAttachmentTypeText(item.attachType)" />
|
||||||
|
</template>
|
||||||
</attachment-selector>
|
</attachment-selector>
|
||||||
<div class="tips orange" v-if="!hasCustomerDeletePermission">当前账户权限编辑客户需要上传照片和积分卡</div>
|
<div class="tips orange" v-if="!hasCustomerDeletePermission">当前账户权限编辑客户需要上传照片和积分卡</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -242,7 +245,7 @@ import { useCurrentStoreStore } from "@/store/currentStoreStore";
|
|||||||
import type { BodyAreaValue, Customer, CustomerAttachmentType, EditableCustomerPhoto } from "@/types/Customer";
|
import type { BodyAreaValue, Customer, CustomerAttachmentType, EditableCustomerPhoto } from "@/types/Customer";
|
||||||
import type { Tag } from "@/types/Tag";
|
import type { Tag } from "@/types/Tag";
|
||||||
import { bodyAreaLabelMap } from "@/utils/bodyArea";
|
import { bodyAreaLabelMap } from "@/utils/bodyArea";
|
||||||
import { getAttachmentReadURL } from "@/utils/attachment";
|
import { getAttachmentReadURL, getAttachmentTypeText } from "@/utils/attachment";
|
||||||
import { normalizeBodyAreaValue } from "@/utils/customer";
|
import { normalizeBodyAreaValue } from "@/utils/customer";
|
||||||
import { corePermissionCodes, gaoRoleCodes, permissionCodes } from "@/utils/permission";
|
import { corePermissionCodes, gaoRoleCodes, permissionCodes } from "@/utils/permission";
|
||||||
import { compressUploadImageList } from "@/utils/imageCompression";
|
import { compressUploadImageList } from "@/utils/imageCompression";
|
||||||
|
|||||||
Reference in New Issue
Block a user