From 517fec3f91b8482ebab05a5468a9d9102b47880f Mon Sep 17 00:00:00 2001 From: huxuejian Date: Wed, 8 Apr 2026 14:43:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- pages/archive/edit-archive.vue | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) 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() {