diff --git a/packages/vue-app/template/utils.js b/packages/vue-app/template/utils.js index a3ebd3c144..f2a50dd983 100644 --- a/packages/vue-app/template/utils.js +++ b/packages/vue-app/template/utils.js @@ -35,7 +35,7 @@ export function applyAsyncData (Component, asyncData) { Component.options._originDataFn = ComponentData Component.options.data = function () { - const data = ComponentData.call(this) + const data = ComponentData.call(this, this) if (this.$ssrContext) { asyncData = this.$ssrContext.asyncData[Component.cid] }