|
@@ -414,7 +414,10 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
onMounted(async () => {
|
|
|
- postMessage({ api: 'setStatusBarTextColor', content: { statusBarTextColor: true } })
|
|
|
+ postMessage({
|
|
|
+ api: 'setStatusBarTextColor',
|
|
|
+ content: { statusBarTextColor: true }
|
|
|
+ })
|
|
|
await FetchList()
|
|
|
const { height } = useRect(headers as any)
|
|
|
const footer = useRect(footers as any)
|
|
@@ -428,7 +431,10 @@ export default defineComponent({
|
|
|
window.addEventListener('message', showLoading)
|
|
|
})
|
|
|
onUnmounted(() => {
|
|
|
- postMessage({ api: 'setStatusBarTextColor', content: { statusBarTextColor: false } })
|
|
|
+ postMessage({
|
|
|
+ api: 'setStatusBarTextColor',
|
|
|
+ content: { statusBarTextColor: false }
|
|
|
+ })
|
|
|
window.removeEventListener('message', showLoading)
|
|
|
})
|
|
|
const toggleFavorite = async () => {
|
|
@@ -1126,6 +1132,7 @@ export default defineComponent({
|
|
|
</Button>
|
|
|
) : buyState.value.hasTenantAlbum && !buyState.value.play ? (
|
|
|
<Button
|
|
|
+ disabled={route.query.buyStatus === '1'}
|
|
|
round
|
|
|
block
|
|
|
type="primary"
|