arco-design-vue icon indicating copy to clipboard operation
arco-design-vue copied to clipboard

【time-picker】 没有应用Form的size

Open kkkisme opened this issue 3 years ago • 1 comments

Basic Info

  • Package Name And Version: @arco-design/[email protected]
  • Framework version: vue 3.2.37
  • Browser: chrome104.0.0.0
  • Reproduction Link: https://stackblitz.com/edit/angular-cz6jdm?file=src/App.vue

What is expected?

两个time-picker 的size 均应为small

Steps to reproduce

比较两个time-picker 大小,发现form (size=small) 下的time-picker 尺寸为medium

kkkisme avatar Aug 12 '22 09:08 kkkisme

应该是未使用 form context 的 size 的问题(error 也需要关联) https://github.com/arco-design/arco-design-vue/blob/e3ded81201b136adffe2edea0bd393f458b91f71/packages/web-vue/components/time-picker/time-picker.vue#L366

hehehai avatar Aug 12 '22 12:08 hehehai