Сan I check in Freemarker is nested objects null and use a method?

后端 未结 0 1396
小蘑菇
小蘑菇 2021-02-04 03:51

is there any way to do ${userName!?size} without "if" statement? And ${user!.userName!?size}

相关标签:
回答
  • 消灭零回复
提交回复
热议问题