We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
「商品がカートにありません」が一瞬出る。
The text was updated successfully, but these errors were encountered:
■原因 ・カート内容取得APIのレスポンスを待っている間、フロント側では「カートが空」という判定になっていた
■対応 ・カート内容取得APIのレスポンスを待っている間はカートの状態は表示せず、レスポンスが返ってから表示するようにする (レスポンスを待つ間はLoadingを表示する)
■以下のように修正する場合のコードを添付します。
Before: 画面遷移 → API待ち(この間「カートに商品がありません」が出る) → API応答 → カートの中身を表示
After: 画面遷移 → loading 表示 → API待ち → API応答 → Loading 消す → カートの中身を
src\views\basket BasketView.vue.txt
src\components\common Loading.vue.txt
Sorry, something went wrong.
1nu1taichi
Successfully merging a pull request may close this issue.
「商品がカートにありません」が一瞬出る。
The text was updated successfully, but these errors were encountered: