重构弹出框等代码块位置,增加_Admin模板页中customModal块,支持子页面多个块

This commit is contained in:
Argo-Lenovo 2016-10-27 14:33:34 +08:00
parent 0dc83346af
commit b45f9cb121
3 changed files with 3 additions and 6 deletions

View File

@ -62,6 +62,6 @@
</form> </form>
</div> </div>
} }
@section roleModal { @section customModal {
@Html.Partial("RoleConfig") @Html.Partial("RoleConfig")
} }

View File

@ -44,4 +44,3 @@
<!--footer end--> <!--footer end-->
</section> </section>
@RenderSection("modal", false) @RenderSection("modal", false)
@RenderSection("roleModal", false)

View File

@ -34,9 +34,7 @@
</div> </div>
</div> </div>
</div> </div>
} @RenderSection("customModal", false)
@section roleModal {
@RenderSection("roleModal", false)
} }
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading">查询条件</div> <div class="panel-heading">查询条件</div>