#@adminLayout() #define main() ### isAdd 表示创建,isEdit 表示修改 #set(isAdd = role == null ? true : false, isEdit = !isAdd)