Procházet zdrojové kódy

修改多行情况下问题

dusenyao před 9 měsíci
rodič
revize
6e3185f969
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/views/Textanalysis/index.vue

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

@@ -1062,10 +1062,10 @@ export default {
       } else {
         // 多行情况下
         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.style = 'font-weight: 500;';
+        span.style = 'display: inline-block;font-weight: 500;';
       }
       // 将 content 设到 span 中
       span.appendChild(content);