mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-07 09:22:27 +00:00
Fix promise call generate
This commit is contained in:
parent
ba4a7c3e0b
commit
2ae761d2e7
@ -137,7 +137,7 @@ function resolveRouteParams (routeParams) {
|
|||||||
let promises = []
|
let promises = []
|
||||||
Object.keys(routeParams).forEach(function (routePath) {
|
Object.keys(routeParams).forEach(function (routePath) {
|
||||||
let promise = promisifyRouteParams(routeParams[routePath])
|
let promise = promisifyRouteParams(routeParams[routePath])
|
||||||
.then((routeParamsData) => {
|
promise.then((routeParamsData) => {
|
||||||
routeParams[routePath] = routeParamsData
|
routeParams[routePath] = routeParamsData
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user