mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(vue-renderer): dont mutate options.head (#6429)
This commit is contained in:
parent
0e0149d821
commit
2d0f28fa75
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user