Is there a way to tell if a yielded component's has-block is empty?

前端 未结 0 1245
北海茫月
北海茫月 2021-01-12 06:29

I am trying to make a contextual component that can provide a default header when one is not passed in the yielded block. Normally, I could use the has-block helper to tell

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