摘要: webx5 单页模式打开方式:justep.shell.showpage(); 多页模式打开方式:window.loacation.href = require.tourl(); 阅读全文
posted @ 2016-10-28 10:40 lanware-shi 阅读(5683) 评论(0) 推荐(3)
摘要: 1、id冲突。 如果多个页面有相同id,通过id取dom节点时不能准确定位。 解决方式:用xid代替id,加载组件时会自动生成不同的id。 xid相关api: this.getIDbyXID(xid);//根据xid获取id this.comp(xid);//根据xid获取组件 document.g 阅读全文
posted @ 2016-10-28 10:28 lanware-shi 阅读(547) 评论(0) 推荐(0)