修复显示数问题

上海顺胜组织架构图v2
Chengliang 11 months ago
parent d6af9ee836
commit b708c6608d

@ -156,7 +156,8 @@ export default function companyPage() {
}; };
const nodeContentRender = (d, i, arr, state) => { const nodeContentRender = (d, i, arr, state) => {
let fclass = topbar.state.requestData.fclass; let a = topbar.state.requestData.fclass;
let fclass = a == '' ? undefined : a;
let statisticsStyle = fclass == 0 ? 'block' : 'none'; let statisticsStyle = fclass == 0 ? 'block' : 'none';
let headStyle = fclass == 0 ? 'none' : 'block'; let headStyle = fclass == 0 ? 'none' : 'block';
if (d.data.ftype == 0) { if (d.data.ftype == 0) {

Loading…
Cancel
Save