SanHQin hai 4 meses
pai
achega
55314c1a1b
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      src/views/printView/components/studentProjectWordShow.vue

+ 6 - 2
src/views/printView/components/studentProjectWordShow.vue

@@ -18,12 +18,16 @@
         </div>
         <div class="basicInformation" style="color: red">
           <span>指导教师</span>
-          <div class="line" style="position: relative">
-            <span
+          <div class="line" style="position: relative;display: flex;">
+            <div style="width: 390px; ">
+              <span
+              style="white-space: nowrap;"
               v-for="(item, index) in downWordData.teacherS"
               :key="index"
               >{{ item.name }}</span
             >
+            </div>
+
             <span style="position: absolute; right: -100px"
               >{{ downWordData.teacherS.filter(i=>i.name!='').length }}(人)</span
             >