织梦dedecms判断字段是否为空

黄文博客 / 2024-08-23 / 原文

{dede:field.name runphp='yes'}
if(@me != '') {
    @me
} else {
    "字段为空"
}
[/dede:field.name]