@using VberAdmin.Web.Models.Input @using VberZero.Tools.StringModel @model VmInputBase @if (Model != null) { switch (Model.InputType) { case VmInputType.Select: var select = (VmInputSelect)Model;
@if (Model.Clear.NotEmpty()) { @*清除按钮*@ } @*打开搜索模态框*@
break; case VmInputType.AjaxSelect: var ajaxSelect = (VmInputSelectAjax)Model;
@if (Model.Clear.NotEmpty()) { @*清除按钮*@ } @*打开搜索模态框*@
break; default:
@if (Model.Clear.NotEmpty()) { @*清除按钮*@ } @*打开搜索模态框*@
break; } }