소스 검색

[edit]style

A\An 2 년 전
부모
커밋
17e1622570
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/view/components/font-amount.vue

+ 2 - 2
src/view/components/font-amount.vue

@@ -1,7 +1,7 @@
 <template>
-    <div :style="{ fontSize: amount_font_size + 'px' }">
+    <div>
         <a-tooltip :title="amount" >
-           <span class="content">{{ getBit(amount) }}</span>
+           <span class="content" :style="{ fontSize: amount_font_size + 'px' }">{{ getBit(amount) }}</span>
         </a-tooltip>
     </div>
 </template>