首页 > 技术文章 > mvc5 @RenderSection("scripts", required: false) 什么意思

hcfan 2015-10-19 18:32 原文

在模板中 相当于占位符

使用方法如下

@section scripts{

//coding

}

推荐阅读