我所使用的是devxepress中的主菜单栏时barsubitem控件,想的是在其能够动态添加子菜单栏并能点击触发事件: /// <summary> /// 创建主按钮的子按钮 /// </summary> public void start_select_items() { for (int i = 0; i < rrl.Count; i++) { BarButtonItem bar = new BarButtonItem(); bar.Caption = rrl[i];
一.目录结构 二.表结构设计 model.py from django.db import models # Create your models here. class Menu(models.Model): """菜单表 一级菜单""" title = models.CharField(max_length=32) icon = models.CharField(max_length=64, null=True, blank=True, ve