Typescript-命令模式
/** * Command Design Pattern * * Intent: Turns a request into a stand-alone object that contains all * information about the request. This transformation lets you parameterize * methods with different requests, delay or queue a request's execution, an



