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.
我想拥有像 mc 或总指挥官这样的两面板文件管理器。我是否必须创建两个具有相同功能的不同控制器?
可能您可以只使用同一控制器的两个实例。就像是:
new App.FileManager({el: $('#panel_left')}); new App.FileManager({el: $('#panel_right')});
显然,这只是一个普遍的想法。