Prechádzať zdrojové kódy

已发布月报,UI_0.8

洪海涛 4 rokov pred
rodič
commit
ce5bff4daf

+ 2 - 2
src/views/monthlyReport/childrenPage/editReport/components/VarText.vue

@@ -16,8 +16,8 @@
         <span
           v-if="pageDate.status > 10 && textValue"
           style="padding: 10px 0;display: inline-block;"
-          >{{ textValue }}</span
-        >
+          v-html="textValue.replace(/\n/g, '<br />')"
+          />
       </div>
     </div>
   </div>