From 2d0f28fa7554abdb7370988bcfec87591af1f826 Mon Sep 17 00:00:00 2001 From: Pim Date: Tue, 17 Sep 2019 15:14:10 +0200 Subject: [PATCH] fix(vue-renderer): dont mutate options.head (#6429) --- packages/vue-renderer/src/renderers/spa.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue-renderer/src/renderers/spa.js b/packages/vue-renderer/src/renderers/spa.js index 00be32def1..09958eccc5 100644 --- a/packages/vue-renderer/src/renderers/spa.js +++ b/packages/vue-renderer/src/renderers/spa.js @@ -53,7 +53,7 @@ export default class SPARenderer extends BaseRenderer { if (typeof this.options.head === 'function') { head = this.options.head() } else { - head = this.options.head + head = cloneDeep(this.options.head) } const m = VueMeta.generate(head || {}, this.vueMetaConfig)