mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(vue-app): wrong index and string in ssr log (#5771)
This commit is contained in:
parent
7084b3a126
commit
106836f806
@ -45,7 +45,7 @@ export default class SSRRenderer extends BaseRenderer {
|
||||
log(logObj) {
|
||||
logs.push({
|
||||
...logObj,
|
||||
args: logObj.args.map(format)
|
||||
args: logObj.args.map(arg => typeof arg === 'string' ? arg : format(arg))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user