fix(mobile): 添加API错误处理和超时提示

This commit is contained in:
2026-06-19 23:43:25 +08:00
parent 1bf3bbd432
commit df61879a06

View File

@@ -51,7 +51,10 @@ const loadTenants = async () => {
currentTenantName.value = tenantOptions.value[0].label
}
}
} catch (e) { console.error(e) }
} catch (e) {
console.error('加载租户失败:', e)
errorMsg.value = '无法连接服务器,请检查网络'
}
}
const onTenantChange = () => {