正常输入:获取控件值的结果是无序的:JS:var val = contentPane.getWidgetsByName("level");var vals = contentPane.getWidgetsByName("quantity");//window.parent._g().parameterEl.getWidgetByName("length").setValue(val.length); for (var i = 0; i < val.length; i++) { console.log("等级:"+val.getValue()+"……数量:"+vals.getValue()); }JS获取的结果: