var value =this.getValue(); //获取当前控件值 function test(){ if(value =="管理权限"){ window.parent.FS.tabPane.addItem({title:"baidu",src:"http://www.baidu.com"}) } if(value =="分院权限"){ window.parent.FS.tabPane.addItem({title:"taobao",src:"http://www.taobao.com"}) } if(value =="辅导员权限"){ window.parent.FS.tabPane.addItem({title:"jd",src:"http://www.jd.com"}) } if(value =="正蒙导师权限"){ window.parent.FS.tabPane.addItem({title:"58",src:"http://xa.58.com"}) } if(value =="公寓值班老师权限"){ window.parent.FS.tabPane.addItem({title:"renmin",src:"http://www.people.com.cn"}) } else location.reload(); } 这个js哪里不对呢?如果修改是怎么样修改在当前页签重新打开新页面 |