Skip to content

Commit

Permalink
fix(time-select): 修复TimeSelect手动修改时间后无法再次选中初次时间的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mengqiuleo committed Oct 26, 2024
1 parent e7aa4a7 commit a9edc38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderless/src/time-panel/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const initState = ({ reactive, computed, api }) => {
set: (value) => {
const valid = state.items.some((item) => item.value === value)

state.realValue = valid ? value : ''
state.realValue = state.lastEmitValue = valid ? value : ''
}
})
})
Expand Down

0 comments on commit a9edc38

Please sign in to comment.