diff --git a/src/components/common/service/ServiceDetail.vue b/src/components/common/service/ServiceDetail.vue index ef0e5fe..2560f89 100644 --- a/src/components/common/service/ServiceDetail.vue +++ b/src/components/common/service/ServiceDetail.vue @@ -158,11 +158,8 @@ const focus = (e: any) => { const popoverRef = ref(null); const itemInfo = ref({}); const show = (item: any) => { + if (!item.itemSocialCode) return post('social/directory/getItemByCode', {code: item.itemSocialCode}).then((res: any) => { - if (!res){ - itemInfo.value = {} - return - } itemInfo.value = res }) } diff --git a/src/components/registration/Edit.vue b/src/components/registration/Edit.vue index e5fb3ac..beebfff 100644 --- a/src/components/registration/Edit.vue +++ b/src/components/registration/Edit.vue @@ -2,48 +2,50 @@