@/** @ * 本页面所用的模板变量 @ * @ * plugins : 需要用到的插件，目前有["table","ztree","sweet-alert","laydate","layer"] @ * title : 页面的标题 @ * layoutContent : 主页面的html内容 @ * js : 业务所需要的js，为数组 @ * css : 业务所需要的css，为数组 @ **/ @if(isNotEmpty(plugins)){ @if(array.contain(plugins,"table")){ @} @if(array.contain(plugins,"ztree")){ @} @if(array.contain(plugins,"sweet-alert")){ @} @} @if(isNotEmpty(css)){ @for(item in css){ @if(strutil.startWith(item,"/")){ @item = item + ctxPath; @} @} @}
${layoutContent}
@if(isNotEmpty(plugins)){ @if(array.contain(plugins,"table")){
@} @if(array.contain(plugins,"ztree")){
@} @if(array.contain(plugins,"layer")){
@} @if(array.contain(plugins,"sweet-alert")){
@} @if(array.contain(plugins,"laydate")){
@} @if(array.contain(plugins,"validation")){
@} @} @if(isNotEmpty(js)){ @for(item in js){ @if(strutil.startWith(item,"/")){ @item = ctxPath + item; @}
@} @}