瀏覽代碼

[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>