groupBoxLayout.setCaption("<button id='btn'>"+lastArn+"</button>");
groupBoxLayout.setCaptionAsHtml(true);
caption 里面放 button 是没有用的。你可以运行起来,用调试工具抓一下页面 DOM 看看。
好的,谢谢
groupBoxLayout.setCaption("<button id='btn'>"+lastArn+"</button>");
groupBoxLayout.setCaptionAsHtml(true);
caption 里面放 button 是没有用的。你可以运行起来,用调试工具抓一下页面 DOM 看看。
好的,谢谢