attachmentSimple 组件就是封装的input type=file 的节点!attachmentSimple 没有提供API弹出选择资源的框!所以你自己试试,使用js 获取x-item-upload节点再调用它的click方法试试!
案例/UI2/system/components/justep/attachment/demo/demoSimple.w 的代码就是:

var add = this.getElementByXid('div12');
 $(add).children().children().click();