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.
form.addCommand 是如何工作的?我遇到了一个问题,当我创建一个新表单时,以前的表单命令被添加到新表单中。我在新表单上调用 form.removeallcommands 但无济于事。有没有人经历过类似的事情?
谢谢
使用form.removeCommand(commandname);另一件事是在第二种形式中使用以前的表单对象获取所有命令的引用。
form.removeCommand(commandname);