移除动画预热

pull/1255/head
lyswhut 2023-03-18 11:13:04 +08:00
parent 1c681e9f82
commit 9132abb3fe
1 changed files with 7 additions and 7 deletions

View File

@ -17,7 +17,7 @@
</template> </template>
<script> <script>
import { ref, onMounted } from '@common/utils/vueTools' import { ref } from '@common/utils/vueTools'
import usePlayProgress from '@renderer/utils/compositions/usePlayProgress' import usePlayProgress from '@renderer/utils/compositions/usePlayProgress'
import { isShowPlayerDetail } from '@renderer/store/player/state' import { isShowPlayerDetail } from '@renderer/store/player/state'
@ -69,12 +69,12 @@ export default {
visibleProgress.value = false visibleProgress.value = false
} }
onMounted(() => { // onMounted(() => {
visible.value = true // visible.value = true
requestAnimationFrame(() => { // requestAnimationFrame(() => {
visible.value = false // visible.value = false
}) // })
}) // })
return { return {
visible, visible,