【Foxit PDF SDK for Web】如何禁用页码输入框 和 可编辑的缩放比例框 这两个组件?

pdfui.eventEmitter.on(UIExtension.PDFViewCtrl.Events.renderFileSuccess,  (pdfDoc) => {
    pdfui.getComponentByName('gotoPage').then(gotoPage => {
       gotoPage.disable();
    });
    pdfui.getComponentByName('editable-zoom-dropdown').then(zoomValue =>{
        zoomValue.disable();
    })
});