移除新增按钮

  //protected getButtons(): Serenity.ToolButton[] {

        //    return [];
        //}
        protected getButtons(): Serenity.ToolButton[] {
            var buttons = super.getButtons();
            buttons.splice(Q.indexOf(buttons, x => x.cssClass == "add-button"), 1);
            return buttons;
        }

results matching ""

    No results matching ""