Jelajahi Sumber

修改换行改为...的问题

57862207 1 tahun lalu
induk
melakukan
42a45865b5
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/views/ordinaryPage/index.vue

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

@@ -1227,12 +1227,12 @@ export default {
           </div>`;
     },
     issueRender(item) {
-      return `<div class="item-box" style="display:flex;align-items: center;justify-content: space-between;" onClick="selectRowIssue('${
+      return `<div class="item-box" style="display:flex; align-items: center;justify-content: space-between;" onClick="selectRowIssue('${
         item.uuid || item.id
       }')">
               <div class="left">
                   <div style="display:flex;align-items: center;">
-                    <div class="item-title">${item.ticket_title}</div>
+                    <div class="item-title" style="width: 20vw; white-space: nowrap; overflow:hidden; text-overflow: ellipsis;">${item.ticket_title}</div>
                     <div class="${"status" + item.ticket_status}"></div>
                   </div>
                   <div class="item-tag">