我如何关闭owa面板?

问题描述

我有一个按钮。 当我单击按钮时,我希望OWA窗格关闭

window.close ();我试过了,但是owa窗格没有关闭 后 Office.context.mailbox.ClosePane(); 我试过了,但是owa窗格没有关闭

我该怎么办?

解决方法

如果要在OWA中隐藏任务窗格,可以尝试Office.context.ui.closeContainer来完成。

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...