fix: 问题修复
This commit is contained in:
parent
13fb1b8787
commit
517fec3f91
@ -1,5 +1,5 @@
|
|||||||
MP_API_BASE_URL=https://ykt.youcan365.com
|
MP_API_BASE_URL=https://ykt.youcan365.com
|
||||||
MP_CACHE_PREFIX=production
|
MP_CACHE_PREFIX=production
|
||||||
MP_WX_APP_ID=wx6ee11733526b4f04
|
MP_WX_APP_ID=wx6ee11733526b4f04
|
||||||
MP_TIM_SDK_APP_ID=1600123876
|
MP_TIM_SDK_APP_ID=1600136080
|
||||||
MP_CORP_ID=wpLgjyawAA8N0gWmXgyJq8wpjGcOT7fg
|
MP_CORP_ID=wpLgjyawAA8N0gWmXgyJq8wpjGcOT7fg
|
||||||
@ -203,15 +203,14 @@ async function init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function getArchives() {
|
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) {
|
if (res && res.success) {
|
||||||
corpName.value = res.corpName;
|
corpName.value = res.corpName;
|
||||||
customers.value = Array.isArray(res.data) ? res.data : [];
|
customers.value = Array.isArray(res.data) ? res.data : [];
|
||||||
} else {
|
} else {
|
||||||
toast(res?.message || '查询档案信息失败');
|
// toast(res?.message || '查询档案信息失败');
|
||||||
return Promise.reject()
|
|
||||||
}
|
}
|
||||||
return customers.value
|
return []
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getBaseForm() {
|
async function getBaseForm() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user