1. 程式人生 > 實用技巧 >SAP Spartacus checkout階段顯示spinner與否的準則

SAP Spartacus checkout階段顯示spinner與否的準則

at every step, we’re not displaying a spinner because of next
We display a spinner because the data to load a component still needs to be loaded. For example, when you gt into payment details through delivery mode, there was spinner on the payment methods because the data for the component is still not set

so the flow for this step was if component data (payment method is not done being loaded), then display a spinner

在這裡插入圖片描述
在這裡插入圖片描述
the request is fired in order to fetch review page CMS data:
在這裡插入圖片描述