diff --git a/.umirc.ts b/.umirc.ts index 560592f..6ee07fd 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -27,7 +27,7 @@ export default defineConfig({ proxy: { '/api': { // 标识需要进行转换的请求的url - target: 'http://10.21.122.33/api', // 服务端域名 / http://localhost:8686 + target: 'http://10.21.121.82:8080/api', // 服务端域名 / http://localhost:8686 changeOrigin: true, // 允许域名进行转换 pathRewrite: { '^/api': '' }, // 将请求url里的ci去掉 }, diff --git a/src/pages/company.jsx b/src/pages/company.jsx index 5dd147f..0a156f7 100644 --- a/src/pages/company.jsx +++ b/src/pages/company.jsx @@ -156,8 +156,8 @@ export default function companyPage() { `; } else if (d.data.ftype == 2) { - let one = d.data.leader == '' ? 'none' : 'inline-block'; - let three = d.data.deputyLeader == '' ? 'none' : 'inline-block'; + let one = d.data.leader == '' ? 'none' : 'inline'; + let three = d.data.deputyLeader == '' ? 'none' : 'inline'; let two = d.data.header == '' ? 'none' : 'inline-block'; return `