Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Commit

Permalink
fix(swipe-action): cannot find width of null
Browse files Browse the repository at this point in the history
  • Loading branch information
b2nil committed Oct 25, 2020
1 parent 30419e9 commit 3050c68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/swipe-action/options/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ const AtSwipeActionOptions = defineComponent({
100
).then(res => {
const arr = [...res]
props.onQueryedDom(arr[0])
if (Boolean(arr[0])) {
props.onQueryedDom(arr[0])
}
})
}

Expand Down

0 comments on commit 3050c68

Please sign in to comment.