|
|
|
@ -51,8 +51,8 @@ const getMemberOrderData = async () => {
|
|
|
|
|
e.appointmentTime = str + ' ' + start + '-' + end
|
|
|
|
|
if (e.orderDetails) {
|
|
|
|
|
e.orderDetails.forEach((q) => {
|
|
|
|
|
const arr = JSON.parse(q.product.photo)
|
|
|
|
|
const imgUrl = serviceDomain + arr[0].url
|
|
|
|
|
const arr = q.product?.photo && JSON.parse(q.product.photo) || []
|
|
|
|
|
const imgUrl = serviceDomain + arr[0]?.url
|
|
|
|
|
q.imgUrl = imgUrl
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|