Exemple #1
0
 /// <summary>
 /// 配置标识
 /// </summary>
 protected override void ConfigId(TagBuilder builder)
 {
     if (_config.Contains(UiConst.Id))
     {
         builder.AddAttribute($"#{_config.GetValue( UiConst.Id )}", "matMenu");
         return;
     }
     builder.AddAttribute("#menu", "matMenu");
 }