Skip to content

Commit

Permalink
feat(ui/picker): Picker of colums add deep watch (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangKBweb authored May 20, 2022
1 parent 5ca9c63 commit 54d3eb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/varlet-ui/src/picker/Picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,10 @@ export default defineComponent({
const { indexes } = getPicked()
prevIndexes = [...indexes]
},
{ immediate: true }
{
immediate: true,
deep: true,
}
)
return {
Expand Down

0 comments on commit 54d3eb7

Please sign in to comment.