模板指令菜单报错修正

This commit is contained in:
liweiyi 2024-09-05 16:55:15 +08:00
parent 83592d9655
commit 80c591e917
2 changed files with 6 additions and 4 deletions

View File

@ -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();
}
/**
* 函数别名

View File

@ -42,6 +42,6 @@ public interface ITag {
* 标签属性定义
*/
default List<TagAttr> getTagAttrs() {
return null;
return List.of();
}
}