|
|
@@ -60,12 +60,12 @@ export default { |
|
|
|
await this.getDetail()
|
|
|
|
|
|
|
|
if (this.data) {
|
|
|
|
let head = document.getElementsByTagName('head');
|
|
|
|
/* let head = document.getElementsByTagName('head');
|
|
|
|
let meta = document.createElement('meta');
|
|
|
|
document.querySelector('meta[name="keywords"]').setAttribute('content', this.data.seoKeywords)
|
|
|
|
document.querySelector('meta[name="description"]').setAttribute('content', this.data.seoDescription)
|
|
|
|
head[0].appendChild(meta)
|
|
|
|
document.title = this.data.seoTitle
|
|
|
|
document.title = this.data.seoTitle */
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|