调用传参:

@include("message",['msg'=>'中国'])

  

在message子模板中调用msg的值:

{{msg}}

  

相关文章:

  • 2021-07-10
  • 2022-12-23
  • 2022-02-06
  • 2022-12-23
  • 2022-01-18
猜你喜欢
  • 2021-11-10
  • 2021-09-14
  • 2021-07-19
  • 2021-11-13
  • 2021-12-05
相关资源
相似解决方案