mirror of https://gitee.com/stylefeng/guns
更新工具引用
parent
58f5568a60
commit
c912d7c576
|
@ -1,7 +1,6 @@
|
||||||
package cn.stylefeng.guns.core.beetl;
|
package cn.stylefeng.guns.core.beetl;
|
||||||
|
|
||||||
import cn.hutool.core.util.ObjectUtil;
|
import cn.hutool.core.util.ObjectUtil;
|
||||||
import cn.hutool.core.util.StrUtil;
|
|
||||||
import cn.stylefeng.guns.core.beetl.tag.SysDictCheckBoxTag;
|
import cn.stylefeng.guns.core.beetl.tag.SysDictCheckBoxTag;
|
||||||
import cn.stylefeng.guns.core.beetl.tag.SysDictRadioTag;
|
import cn.stylefeng.guns.core.beetl.tag.SysDictRadioTag;
|
||||||
import cn.stylefeng.guns.core.beetl.tag.SysDictSelectTag;
|
import cn.stylefeng.guns.core.beetl.tag.SysDictSelectTag;
|
||||||
|
@ -32,9 +31,6 @@ public class CustomBeetlGroupUtilConfiguration extends BeetlGroupUtilConfigurati
|
||||||
// 对象工具类
|
// 对象工具类
|
||||||
groupTemplate.registerFunctionPackage("objectUtil", ObjectUtil.class);
|
groupTemplate.registerFunctionPackage("objectUtil", ObjectUtil.class);
|
||||||
|
|
||||||
// 字符串处理工具类
|
|
||||||
groupTemplate.registerTag("strUtil", StrUtil.class);
|
|
||||||
|
|
||||||
// 获取基本信息的工具
|
// 获取基本信息的工具
|
||||||
groupTemplate.registerFunctionPackage("constants", SystemConfigExpander.class);
|
groupTemplate.registerFunctionPackage("constants", SystemConfigExpander.class);
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<!--业务css-->
|
<!--业务css-->
|
||||||
@if(isNotEmpty(css)){
|
@if(isNotEmpty(css)){
|
||||||
@for(item in css){
|
@for(item in css){
|
||||||
@if(strUtil.startWith(item,"/")){
|
@if(strutil.startWith(item,"/")){
|
||||||
@item = ctxPath + item;
|
@item = ctxPath + item;
|
||||||
@}
|
@}
|
||||||
<link href="${item}?v=${constants.getReleaseVersion()}" rel="stylesheet" type="text/css" />
|
<link href="${item}?v=${constants.getReleaseVersion()}" rel="stylesheet" type="text/css" />
|
||||||
|
@ -83,7 +83,7 @@ ${layoutContent}
|
||||||
<!-- 业务js -->
|
<!-- 业务js -->
|
||||||
@if(isNotEmpty(js)){
|
@if(isNotEmpty(js)){
|
||||||
@for(item in js){
|
@for(item in js){
|
||||||
@if(strUtil.startWith(item,"/")){
|
@if(strutil.startWith(item,"/")){
|
||||||
@item = ctxPath + item;
|
@item = ctxPath + item;
|
||||||
@}
|
@}
|
||||||
<script src="${item}?v=${constants.getReleaseVersion()}"></script>
|
<script src="${item}?v=${constants.getReleaseVersion()}"></script>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
<!--业务css-->
|
<!--业务css-->
|
||||||
@if(isNotEmpty(css)){
|
@if(isNotEmpty(css)){
|
||||||
@for(item in css){
|
@for(item in css){
|
||||||
@if(strUtil.startWith(item,"/")){
|
@if(strutil.startWith(item,"/")){
|
||||||
@item = ctxPath + item;
|
@item = ctxPath + item;
|
||||||
@}
|
@}
|
||||||
<link href="${item}?v=${constants.getReleaseVersion()}" rel="stylesheet" type="text/css" />
|
<link href="${item}?v=${constants.getReleaseVersion()}" rel="stylesheet" type="text/css" />
|
||||||
|
@ -85,7 +85,7 @@ ${layoutContent}
|
||||||
<!-- 业务js -->
|
<!-- 业务js -->
|
||||||
@if(isNotEmpty(js)){
|
@if(isNotEmpty(js)){
|
||||||
@for(item in js){
|
@for(item in js){
|
||||||
@if(strUtil.startWith(item,"/")){
|
@if(strutil.startWith(item,"/")){
|
||||||
@item = ctxPath + item;
|
@item = ctxPath + item;
|
||||||
@}
|
@}
|
||||||
<script src="${item}?v=${constants.getReleaseVersion()}"></script>
|
<script src="${item}?v=${constants.getReleaseVersion()}"></script>
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
@/* 其他业务用的css */
|
@/* 其他业务用的css */
|
||||||
@if(isNotEmpty(css)){
|
@if(isNotEmpty(css)){
|
||||||
@for(item in css){
|
@for(item in css){
|
||||||
@if(strUtil.startWith(item,"/")){
|
@if(strutil.startWith(item,"/")){
|
||||||
@item = ctxPath + item;
|
@item = ctxPath + item;
|
||||||
@}
|
@}
|
||||||
<link href="${item}?v=${constants.getReleaseVersion()}" rel="stylesheet" type="text/css" />
|
<link href="${item}?v=${constants.getReleaseVersion()}" rel="stylesheet" type="text/css" />
|
||||||
|
@ -70,7 +70,7 @@ ${layoutContent}
|
||||||
|
|
||||||
@if(isNotEmpty(js)){
|
@if(isNotEmpty(js)){
|
||||||
@for(item in js){
|
@for(item in js){
|
||||||
@if(strUtil.startWith(item,"/")){
|
@if(strutil.startWith(item,"/")){
|
||||||
@item = ctxPath + item;
|
@item = ctxPath + item;
|
||||||
@}
|
@}
|
||||||
<script src="${item}?v=${constants.getReleaseVersion()}"></script>
|
<script src="${item}?v=${constants.getReleaseVersion()}"></script>
|
||||||
|
|
Loading…
Reference in New Issue