简体   繁体   中英

ExtjS How destroy controller

我有这样的情况,我有一个具有视图对话框的控制器,对话框未定义为该控制器视图,只有我创建的窗口对象。当我关闭并销毁对话框的DOM时,第一个事件运行良好,之后这个过程进行了两次,因此我得出结论,我的控制器仍然存在,并且正在调用等于null的对话框。我如何销毁该控制器。

使用销毁功能

dialogName.destroy;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM