H5端首页显示内容修改

This commit is contained in:
冯辉
2025-11-18 10:57:59 +08:00
parent 7ee291158e
commit 5c7bd3a6bc
5 changed files with 40 additions and 30 deletions

View File

@@ -129,7 +129,7 @@
// 根据公司ID获取公司详情
function getCompanyDetailsById(companyId) {
// 使用全局注入的$api调用接口
$api.createRequest('/app/company/' + companyId, 'GET', 9100).then((resData) => {
$api.createRequest('/app/company/' + companyId).then((resData) => {
if (resData && resData.code === 200 && resData.data) {
console.log('Company details:', resData.data);
// 确保数据格式符合页面需求,并为关键字段提供默认值