优化产品详情页面seo
This commit is contained in:
parent
d6c581beff
commit
a9cd952636
@ -336,6 +336,14 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
setTimeout(() => {
|
||||
let previewDom = document.querySelector('.img-region');
|
||||
if (previewDom) {
|
||||
previewDom.alt = '图片预览'
|
||||
}
|
||||
}, 0)
|
||||
},
|
||||
methods: {
|
||||
onSubmit(e) {
|
||||
e.preventDefault()
|
||||
|
Loading…
Reference in New Issue
Block a user