Commit 6c68a64954724fb250e2cee2a47ac0ae16427a51
1 parent
f92ff116
fix: prod2-54/55
Showing
2 changed files
with
4 additions
and
4 deletions
deploy/prod2.sh
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # 变量定义 | 2 | # 变量定义 |
3 | -LAST_TAG="1.0.53" | ||
4 | -TAG="1.0.54" | 3 | +LAST_TAG="1.0.54" |
4 | +TAG="1.0.55" | ||
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
@@ -45,11 +45,11 @@ watchEffect(() => { | @@ -45,11 +45,11 @@ watchEffect(() => { | ||
45 | }, | 45 | }, |
46 | { | 46 | { |
47 | name: "keywords", | 47 | name: "keywords", |
48 | - content: info.value.introduction || info.value.name, | 48 | + content: info.value.metakeywords || info.value.name, |
49 | }, | 49 | }, |
50 | { | 50 | { |
51 | name: "description", | 51 | name: "description", |
52 | - content: info.value.introduction || info.value.name, | 52 | + content: info.value.metadescription || info.value.name, |
53 | }, | 53 | }, |
54 | ], | 54 | ], |
55 | }); | 55 | }); |