fix(vue-app): wrong index and string in ssr log (#5771)

This commit is contained in:
Xin Du (Clark) 2019-05-20 15:09:36 +01:00 committed by Pooya Parsa
parent 7084b3a126
commit 106836f806

View File

@ -45,7 +45,7 @@ export default class SSRRenderer extends BaseRenderer {
log(logObj) { log(logObj) {
logs.push({ logs.push({
...logObj, ...logObj,
args: logObj.args.map(format) args: logObj.args.map(arg => typeof arg === 'string' ? arg : format(arg))
}) })
} }
} }