fix: 问题修复
This commit is contained in:
parent
13fb1b8787
commit
517fec3f91
@ -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
|
||||
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user