SanHQin 4 月之前
父節點
當前提交
55314c1a1b
共有 1 個文件被更改,包括 6 次插入2 次删除
  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
             >