asp.net-core - How can I customize my _Layout [abp] framework, abp.io?
问题描述
I am new to ABP Framework (abp.io).
I want to customize _layout.cshtml.
It seems the _layout is in base classes. So how can I override it. And design my own _layout and use over all pages ?
解决方案
要做你提到的你必须去 mvc / Views / Shared / Layout / _Layout.cshtml 那里你可以自定义默认布局。如果您想覆盖特定页面上的布局,您必须将其设置为 null,Layout = null
推荐阅读
- sql - Oracle SQL Lead Lag 跨组的历史数据
- windows - 更改新 Windows 终端的窗口大小
- python - 当我运行我的代码并输入错误的输入值时,我收到了一个无限的 while 循环。有谁知道为什么,以及如何解决它?
- c++ - 使用 C++ 类分段错误插入二叉搜索树
- python - Pandas:根据每个组的日期条件插入新行
- python - openpyxl 和迭代 + 更改特定单元格问题/寻求资源
- javascript - 如何在 PHP 中获取 node-fetch 的数据?
- android - 来自android的ACTION_SHUTDOWN广播接收器根本不起作用
- openmp - 关键指令在 openmp 的部分内部不起作用
- xero-api - Xero Api 和账单状态