|
@@ -888,7 +888,7 @@ export default defineComponent({
|
|
|
type="primary"
|
|
|
color="linear-gradient(270deg, #FF3C81 0%, #FF76A6 100%)"
|
|
|
onClick={() => {
|
|
|
- useThrottleFn(() => {
|
|
|
+ const throttleFn = useThrottleFn(() => {
|
|
|
player.value && player.value.stop()
|
|
|
const item: any = partColumns.value.find(
|
|
|
(c: any) => c.value === staffData.partIndex
|
|
@@ -904,6 +904,8 @@ export default defineComponent({
|
|
|
route.query.subjectType === 'MUSIC' ? 1 : 0
|
|
|
})
|
|
|
}, 500)
|
|
|
+
|
|
|
+ throttleFn()
|
|
|
}}
|
|
|
>
|
|
|
立即练习
|