소스 검색

fix: 混合表格插入研报单元格内容布局

ldong 6 달 전
부모
커밋
4cd85381cf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/components/sheet.vue

+ 1 - 0
src/components/sheet.vue

@@ -46,6 +46,7 @@ const dynamicSty = computed(()=>{
             font-weight: ${cell.bl ? 'bold' : 'normal'};
             font-style: ${cell.it ? 'italic' : 'normal'};
             background: ${cell.bg};
+            text-align: ${cell.align || 'center'};
           `"
         >
           <!-- 单元格拆分 -->