Ver Fonte

修改多行情况下问题

dusenyao há 9 meses atrás
pai
commit
6e3185f969
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/Textanalysis/index.vue

+ 2 - 2
src/views/Textanalysis/index.vue

@@ -1062,10 +1062,10 @@ export default {
       } else {
       } else {
         // 多行情况下
         // 多行情况下
         paragraphs.forEach((item) => {
         paragraphs.forEach((item) => {
-          item.style = 'display: inline flex; flex-wrap: wrap; margin-bottom: 22px;font-weight: 500;';
+          item.style = 'display: flex; flex-wrap: wrap; margin-bottom: 22px;font-weight: 500;';
         });
         });
         span.classList = 'articel';
         span.classList = 'articel';
-        span.style = 'font-weight: 500;';
+        span.style = 'display: inline-block;font-weight: 500;';
       }
       }
       // 将 content 设到 span 中
       // 将 content 设到 span 中
       span.appendChild(content);
       span.appendChild(content);