Skip to content

Commit

Permalink
Depend Updates V7.18.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyatt Herkamp committed Nov 4, 2022
1 parent 12457bb commit 5e6ad03
Show file tree
Hide file tree
Showing 5 changed files with 979 additions and 861 deletions.
3 changes: 3 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export default defineComponent({
}
},
setup(props) {
if (props.size === undefined){
return { size: '24' }
}
const size = props.size.slice(-1) === 'x'
? props.size.slice(0, props.size.length -1) + 'em'
: parseInt(props.size) + 'px';
Expand Down
Loading

0 comments on commit 5e6ad03

Please sign in to comment.