Skip to content

Commit

Permalink
fix: redundant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
suyuan32 committed Aug 15, 2024
1 parent b5ce79b commit 7d313e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Verify/src/ImgRotate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
const getFactorRef = computed(() => {
const { minDegree, maxDegree } = props;
if (minDegree === maxDegree) {
return Math.floor(1 + Math.random() * 1) / 10 + 1;
return Math.floor(1 + Math.random()) / 10 + 1;
}
return 1;
});
Expand Down

0 comments on commit 7d313e9

Please sign in to comment.