Commit 65ee02e83340263334eed9bb2cbb9cdb690890c7

Authored by boyang
1 parent 27dbe587

fix: 修改详情页面bug,prod2-68/69

components/ProductDetail.vue
... ... @@ -641,11 +641,11 @@ const clearSpanStyle = (htmlContent) => {
641 641 const parser = new DOMParser();
642 642 const doc = parser.parseFromString(htmlContent, "text/html");
643 643  
644   - // 清理 span 的 style 属性
645   - const spans = doc.querySelectorAll("span");
646   - spans.forEach((span) => {
647   - span?.removeAttribute("style"); // 清空 style 属性
648   - });
  644 + // // 清理 span 的 style 属性
  645 + // const spans = doc.querySelectorAll("span");
  646 + // spans.forEach((span) => {
  647 + // span?.removeAttribute("style"); // 清空 style 属性
  648 + // });
649 649  
650 650 // const imgs = doc.querySelectorAll("img");
651 651 // imgs.forEach((img) => {
... ...
deploy/prod2.sh
1 1 #!/bin/bash
2 2 # 变量定义
3   -LAST_TAG="1.0.67"
4   -TAG="1.0.68"
  3 +LAST_TAG="1.0.68"
  4 +TAG="1.0.69"
5 5 TARGET_PATH="/root/web/canrud-outside-nuxt-front"
6 6 DOCKERFILE_PATH="/root/web/canrud-outside-nuxt-front/canrud-nuxt-front"
7 7 IMAGE_NAME="canrud-outside-front"
... ...