hotfx(vue-app): app is not defined

[release]
This commit is contained in:
Sébastien Chopin 2020-06-12 19:41:41 +02:00
parent 8cf3961e51
commit 44f471f141
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ export default {
if (this.isPreview) {
if (this.$store && this.$store._actions.nuxtServerInit) {
<% if (loading) { %>this.$loading.start()<% } %>
await app.$store.dispatch('nuxtServerInit', this.context)
await this.$store.dispatch('nuxtServerInit', this.context)
}
await this.refresh()
<% if (loading) { %>this.$loading.finish()<% } %>