Skip to content

Commit

Permalink
fix: 修复 select width 属性失效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed May 10, 2024
1 parent 562e923 commit da9ef92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/fighting-design/select/src/select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
:name
:size
:disabled
:width
:placeholder
:clear
:on-focus="() => (isFocus = true)"
Expand Down
2 changes: 1 addition & 1 deletion start/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
{{ value }}
<f-select v-model="value" placeholder="请选择……" filter>
<f-select v-model="value" placeholder="请选择……" filter :width="300">
<f-option>香蕉</f-option>
<f-option>苹果</f-option>
<f-option>哈密瓜</f-option>
Expand Down

0 comments on commit da9ef92

Please sign in to comment.