RuoYi 框架中使用 lib-flexible 排除 treeselect 影响
在 RuoYi 框架中使用 lib-flexible,并且需要排除 treeselect,可以通过以下步骤实现:
- 在 index.html 文件中引入 lib-flexible 和自定义样式文件。
<link rel='stylesheet' href='path/to/your/custom.css'>
<script src='path/to/lib-flexible.js'></script>
- 在自定义样式文件中,添加以下代码:
/* 排除 treeselect */
.el-tree-select .el-form-item__content {
font-size: inherit !important;
}
.el-tree-select .el-tree-node__content {
font-size: inherit !important;
}
.el-tree-select .el-tree-node__expand-icon {
font-size: inherit !important;
}
这样就可以在使用 lib-flexible 的同时排除 treeselect 的影响了。
原文地址: https://www.cveoy.top/t/topic/oOME 著作权归作者所有。请勿转载和采集!