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
ConsumerのCatalogView.vueにおいて、ライフサイクルフックであるonMountedメソッド内でローディング・スピナーの表示非表示を制御している。現状の実装では、onMountedメソッドのはじめにstate.showLoading = trueとし、try-catch文を挟んで、state.showLoading = falseとしている。 グローバルエラーハンドラーが存在するため、catch文の中で例外が発生したとしても、エラーページに遷移されるが、finally句にstate.showLoading = falseを記述した方が安全であるため修正を行う。
state.showLoading = true
state.showLoading = false
なし。
The text was updated successfully, but these errors were encountered:
kenjiyoshid-a
Successfully merging a pull request may close this issue.
概要
ConsumerのCatalogView.vueにおいて、ライフサイクルフックであるonMountedメソッド内でローディング・スピナーの表示非表示を制御している。現状の実装では、onMountedメソッドのはじめに
state.showLoading = true
とし、try-catch文を挟んで、state.showLoading = false
としている。グローバルエラーハンドラーが存在するため、catch文の中で例外が発生したとしても、エラーページに遷移されるが、finally句に
state.showLoading = false
を記述した方が安全であるため修正を行う。詳細 / 機能詳細(オプション)
なし。
完了条件
The text was updated successfully, but these errors were encountered: