Browse Source

补充下单元格样式

cxmo 1 year ago
parent
commit
4d611d84b6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/sheet.vue

+ 1 - 0
src/components/sheet.vue

@@ -44,6 +44,7 @@ const props = defineProps({
                 color: ${word.fc};
                 font-weight: ${word.bl ? 'bold' : 'normal'};
                 font-style: ${word.it ? 'italic' : 'normal'};
+                text-decoration:${word.un?'underline':word.cl?'line-through':'normal'};
               `"
             >{{word.v}}</span>
           </div>