Ver código fonte

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

ldong 6 meses atrás
pai
commit
4cd85381cf
1 arquivos alterados com 1 adições e 0 exclusões
  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'};
           `"
         >
           <!-- 单元格拆分 -->