具体怎么样,兄弟,在页面上一个方法是下面这样的,到底哪个参数是传给target属性的, WebFXTreeItem(text, action, parent, icon, openIcon,sRadio,sCheckbox,sValue,sChecked); 是不是parent这个是传给target的? 都郁闷死了 var a = new WebFXTreeItem('设备管理','http://localhost:7001/monitor'); 在页面上我这样写是可以的,但是var a = new WebFXTreeItem('设备管理','http://localhost:7001/monitor','right'); 就错了,你能告诉我具体怎么传吗?
不是的 是var a = new WebFXTreeItem('设备管理','http://localhost:7001/monitor');a.target = "right"
WebFXTreeItem(text, action, parent, icon, openIcon,sRadio,sCheckbox,sValue,sChecked);
是不是parent这个是传给target的? 都郁闷死了
var a = new WebFXTreeItem('设备管理','http://localhost:7001/monitor'); 在页面上我这样写是可以的,但是var a = new WebFXTreeItem('设备管理','http://localhost:7001/monitor','right');
就错了,你能告诉我具体怎么传吗?