This commit is contained in:
李志鹏
2025-10-24 15:19:29 +08:00
parent 40ec2ce775
commit 114cea1a29
6 changed files with 35 additions and 26 deletions

View File

@@ -8,6 +8,8 @@
import { getCustomerPhotos, deleteCustomerPhoto } from '@/api/workshop'
const emit = defineEmits(['view-type'])
import { showConfirmDialog } from 'vant'
import { useGenerateStore } from '@/stores'
const generateStore = useGenerateStore()
onMounted(() => {
emit('view-type', 1)
@@ -18,8 +20,7 @@
const onLoad = () => {
loading.value = true
const customerId = '123123123'
getCustomerPhotos(customerId)
getCustomerPhotos(generateStore.customerId)
.then((data) => {
data?.forEach((v) => {
const obj = {