1
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user