参考SDK包中的这个demo:/examples/UIExtension/fragment_usage/hide-component-by-fragment-config.html ,在初始化pdfui实例对象的时候,fragments配置项中进行如下设置:
fragments: [{
target:
'create-fileattachment'
,
action: FRAGMENT_ACTION.EXT,
config: {
visible:
false
// Set to false to hide the button
}
}