feat: 为各个页面补全标题与SEO
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m4s
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m4s
This commit is contained in:
@ -19,9 +19,16 @@
|
||||
return toHomepageView(data.value);
|
||||
});
|
||||
|
||||
const pageTilte = $t('page-title.homepage');
|
||||
|
||||
watch(error, (value) => {
|
||||
if (value) {
|
||||
console.error('数据获取失败: ', value);
|
||||
}
|
||||
});
|
||||
|
||||
useSeoMeta({
|
||||
title: pageTilte,
|
||||
description: $t('company-description'),
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user