当前位置:网站首页>Asynchronous components and suspend (in real development)

Asynchronous components and suspend (in real development)

2022-07-07 07:09:00 To be a woman of light

Suspense Is a built-in global component , The assembly has two slots :

  • default : If default Can be displayed , So show default The content of ;
  • fallback: If default Unable to display , Then show back fallback The contents of the slot ;

 

原网站

版权声明
本文为[To be a woman of light]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207070312311910.html