Commit a370a0462b05b932932fae1f126f9cd36a08d74a
1 parent
0e429526
fix: 修改meta
Showing
2 changed files
with
4 additions
and
5 deletions
deploy/prod2.sh
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # 变量定义 | 2 | # 变量定义 |
3 | -LAST_TAG="1.0.9" | ||
4 | -TAG="1.0.10" | 3 | +LAST_TAG="1.0.10" |
4 | +TAG="1.0.11" | ||
5 | TARGET_PATH="/root/web/canrud-outside-nuxt-front" | 5 | TARGET_PATH="/root/web/canrud-outside-nuxt-front" |
6 | DOCKERFILE_PATH="/root/web/canrud-outside-nuxt-front/canrud-nuxt-front" | 6 | DOCKERFILE_PATH="/root/web/canrud-outside-nuxt-front/canrud-nuxt-front" |
7 | IMAGE_NAME="canrud-outside-front" | 7 | IMAGE_NAME="canrud-outside-front" |
pages/products/detail/[id]/index.vue
@@ -33,7 +33,6 @@ let { data: resData } = await useAsyncData( | @@ -33,7 +33,6 @@ let { data: resData } = await useAsyncData( | ||
33 | } | 33 | } |
34 | ); | 34 | ); |
35 | watchEffect(() => { | 35 | watchEffect(() => { |
36 | - console.log(info.value, "5656infovalue2/resData.value.", resData.value); | ||
37 | useHead({ | 36 | useHead({ |
38 | title: info.value.name || "canrud", | 37 | title: info.value.name || "canrud", |
39 | meta: [ | 38 | meta: [ |
@@ -46,13 +45,13 @@ watchEffect(() => { | @@ -46,13 +45,13 @@ watchEffect(() => { | ||
46 | { | 45 | { |
47 | name: "keywords", | 46 | name: "keywords", |
48 | content: | 47 | content: |
49 | - info.value.metakeywords || | 48 | + info.value.name || |
50 | "科路得,Equipment,High-precision,Machining center,Design,Manufacturing capabilities,Equipment supply,Production line planning,Construction services,Battery assembly lines,Pouch cell testing lines", | 49 | "科路得,Equipment,High-precision,Machining center,Design,Manufacturing capabilities,Equipment supply,Production line planning,Construction services,Battery assembly lines,Pouch cell testing lines", |
51 | }, | 50 | }, |
52 | { | 51 | { |
53 | name: "description", | 52 | name: "description", |
54 | content: | 53 | content: |
55 | - info.value.metadescription || | 54 | + info.value.name || |
56 | "科路得,助您科研之路势在必得。Equipment Business: With our self-built high-precision machining center, we possess robust design and manufacturing capabilities. We offer comprehensive equipment supply, production line planning, and construction services, including battery assembly lines, pouch cell testing lines, and more. Our aim is to provide complete equipment solutions that cater to the diverse needs of our clients. Expect top-quality equipment and professional services that will help you stand out in a fiercely competitive market!", | 55 | "科路得,助您科研之路势在必得。Equipment Business: With our self-built high-precision machining center, we possess robust design and manufacturing capabilities. We offer comprehensive equipment supply, production line planning, and construction services, including battery assembly lines, pouch cell testing lines, and more. Our aim is to provide complete equipment solutions that cater to the diverse needs of our clients. Expect top-quality equipment and professional services that will help you stand out in a fiercely competitive market!", |
57 | }, | 56 | }, |
58 | ], | 57 | ], |