package com.muyu.button;

import java.util.ArrayList;

/**
 * @className: TestButton  ️✈️
 * @author: Yang 鹏  🦅
 * @date: 2024/9/18 22:20 ⏰
 * @Version: 1.0
 * @description:
 */
public class TestButton {
    public static void main(String[] args) {
        //创建一级菜单
        Button button = new Button();
        ArrayList<AbstractButton> buttons = new ArrayList<>();
        //一级菜单中的第一个按钮
        ClickButton clickButton = new ClickButton("授权");
        clickButton.setKey("1");

        //一级菜单中的第二个按钮



        button.setButton(buttons);

    }

}
