mirror of
https://gitee.com/liweiyi/ChestnutCMS.git
synced 2025-12-06 16:38:24 +08:00
模板指令菜单报错修正
This commit is contained in:
parent
83592d9655
commit
80c591e917
@ -15,11 +15,11 @@
|
||||
*/
|
||||
package com.chestnut.common.staticize.func;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface IFunction {
|
||||
|
||||
/**
|
||||
@ -42,7 +42,9 @@ public interface IFunction {
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
List<FuncArg> getFuncArgs();
|
||||
default List<FuncArg> getFuncArgs() {
|
||||
return List.of();
|
||||
}
|
||||
|
||||
/**
|
||||
* 函数别名
|
||||
|
||||
@ -42,6 +42,6 @@ public interface ITag {
|
||||
* 标签属性定义
|
||||
*/
|
||||
default List<TagAttr> getTagAttrs() {
|
||||
return null;
|
||||
return List.of();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user