Browse Source

[fix] 前端通用模块

bootstrap-table模块引入colResizable-1.6.min.js文件,用于可以拉动table宽度
include.html 通用CSS和js模块 设置bootstrap-table-colResizable-js通用方法,供其他模块引入
dev
liuxiaoxu 1 month ago
parent
commit
99ecb3ba33
  1. 3
      ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/colresizable/colResizable-1.6.min.js
  2. 5
      ruoyi-admin/src/main/resources/templates/include.html

3
ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/colresizable/colResizable-1.6.min.js

File diff suppressed because one or more lines are too long

5
ruoyi-admin/src/main/resources/templates/include.html

@ -212,6 +212,11 @@
<script th:src="@{/ajax/libs/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js?v=20210202}"></script>
</div>
<!-- 表格列宽拖动插件2 -->
<div th:fragment="bootstrap-table-colResizable-js">
<script th:src="@{/ajax/libs/bootstrap-table/extensions/colresizable/colResizable-1.6.min.js}"></script>
</div>
<!-- 表格行内编辑插件 -->
<div th:fragment="bootstrap-editable-css">
<link th:href="@{/ajax/libs/bootstrap-table/extensions/editable/bootstrap-editable.css}" rel="stylesheet"/>

Loading…
Cancel
Save