core
core copied to clipboard
多个菜单项使用不同的extraTailArgs绑定同一命令,execute时传入的extraTailArgs始终相同
多个菜单项使用不同的extraTailArgs绑定同一命令,execute时传入的extraTailArgs始终相同。 出现这个错误的原因是:MenuNode中使用command.id作为自身的id 如果MemuNode自身有自己的唯一id就不会出现错误
@solidest 对于多参数类型的情况,我们目前还是比较建议通过注册多个命令来处理。
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.