diff --git a/.env.production b/.env.production index 0652f3b..d08d18a 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ MP_API_BASE_URL=https://ykt.youcan365.com MP_CACHE_PREFIX=production MP_WX_APP_ID=wx6ee11733526b4f04 -MP_TIM_SDK_APP_ID=1600123876 +MP_TIM_SDK_APP_ID=1600136080 MP_CORP_ID=wpLgjyawAA8N0gWmXgyJq8wpjGcOT7fg \ No newline at end of file diff --git a/pages/archive/edit-archive.vue b/pages/archive/edit-archive.vue index 450ecfe..b7eb18b 100644 --- a/pages/archive/edit-archive.vue +++ b/pages/archive/edit-archive.vue @@ -203,15 +203,14 @@ async function init() { } async function getArchives() { - const res = await api('getUnbindMiniAppCustomers', { corpId: corpId.value, mobile: account.value.mobile }); + const res = await api('getUnbindMiniAppCustomers', { corpId: corpId.value, mobile: account.value?.mobile || '' }); if (res && res.success) { corpName.value = res.corpName; customers.value = Array.isArray(res.data) ? res.data : []; } else { - toast(res?.message || '查询档案信息失败'); - return Promise.reject() + // toast(res?.message || '查询档案信息失败'); } - return customers.value + return [] } async function getBaseForm() {