错误: $("td[data-field='fieldHtmlType'] dd[class='layui-this']")[0] 正确: $("td[data-field='fieldHtmlType'] dd[class='layui-this']").eq(0)