Browse Source

feat(components): antd取消按钮文本中间两个空格

wangshun 2 tháng trước cách đây
mục cha
commit
a8584e9f62
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/AntdConfig.vue

+ 1 - 1
src/components/AntdConfig.vue

@@ -36,7 +36,7 @@ watch(token, () => {
 </script>
 
 <template>
-  <AConfigProvider :theme="themeConfig" :locale="locale">
+  <AConfigProvider :theme="themeConfig" :locale="locale" :auto-insert-space-in-button="false">
     <slot></slot>
   </AConfigProvider>
 </template>