我正在尝试在下拉框中设置“分组”(请参阅下面的列说明),但不幸的是,这些组没有显示(我们可以看到没有文本的空行)。这听起来像一个CSS问题。你能告诉我应该查看哪些 CSS 属性来尝试解决这个问题吗?或者,你能给我一些关于如何调试的绳索吗?
提前谢谢了
亲切的问候灯'
{
type: 'dropdown',
id: 'type',
submitType: 'array',
title: t.type,
width: '100',
columnDrag: true,
source: [
{ group:'Agriculture, Forestry and Other Land Use', id: 'afolu.01', name: 'Avoided Ecosystem Degradation' },
{ group:'Agriculture, Forestry and Other Land Use', id: 'afolu.02', name: 'Ecosystem Creation or Restoration' },
{ group:'Renewable Energy', id: 're.01', name: 'Biomass' },
{ group:'Renewable Energy', id: 're.02', name: 'Biogas' },
{ group:'Energy Efficiency and Fuel Switch', id: 'eefs.01', name: 'Energy Demand, Domestic' },
{ group:'Energy Efficiency and Fuel Switch', id: 'eefs.02', name: 'Energy Demand, Industrial'}
]
}[![enter image description here][1]][1]