function eachItem(item,index,length) {
if (item.isXType("combo")) {
//修改下拉框的请求地址
item.store.proxy.conn.url = url;
}
if (item.items && item.items.getCount() > 0) {
item.items.each(eachItem, this);
}
}
form.items.each(eachItem, this);
遍历ext form表单的递归方法
最新推荐文章于 2018-12-13 17:13:00 发布