diff --git a/components/ProductDetail.vue b/components/ProductDetail.vue index 30eefe5..08c3264 100644 --- a/components/ProductDetail.vue +++ b/components/ProductDetail.vue @@ -641,11 +641,11 @@ const clearSpanStyle = (htmlContent) => { const parser = new DOMParser(); const doc = parser.parseFromString(htmlContent, "text/html"); - // 清理 span 的 style 属性 - const spans = doc.querySelectorAll("span"); - spans.forEach((span) => { - span?.removeAttribute("style"); // 清空 style 属性 - }); + // // 清理 span 的 style 属性 + // const spans = doc.querySelectorAll("span"); + // spans.forEach((span) => { + // span?.removeAttribute("style"); // 清空 style 属性 + // }); // const imgs = doc.querySelectorAll("img"); // imgs.forEach((img) => { diff --git a/deploy/prod2.sh b/deploy/prod2.sh index b9f11b7..cc7ec11 100644 --- a/deploy/prod2.sh +++ b/deploy/prod2.sh @@ -1,7 +1,7 @@ #!/bin/bash # 变量定义 -LAST_TAG="1.0.67" -TAG="1.0.68" +LAST_TAG="1.0.68" +TAG="1.0.69" TARGET_PATH="/root/web/canrud-outside-nuxt-front" DOCKERFILE_PATH="/root/web/canrud-outside-nuxt-front/canrud-nuxt-front" IMAGE_NAME="canrud-outside-front"