Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在“onLightbox”事件中添加了以下行,但它没有做任何事情。
scheduler.config.buttons_right=[];
它需要在 scheduler.init 调用之前添加(在 onLightbox 事件之外),因为这是一个全局配置。
我认为它也可以添加到“onBeforeLightbox”中以获得更多控制:
scheduler.attachEvent("onBeforeLightbox", function (id, mode, event) { scheduler.config.buttons_right = []; }