RenderSection @RenderSection("scripts", required: false) 如果页面有此段代码,而且后面的false改为true, 则在其子页一定要加入以下代码,我的理解就是: @section scripts{ }