添加指定的属性,并为其赋指定的值 this.sltLevelType.setAttribute("height", "100px"); 转载于:https://www.cnblogs.com/7q4w1e/p/9549585.html