diff --git a/src/components/GlobalHeader/GlobalHeader.vue b/src/components/GlobalHeader/GlobalHeader.vue index 01d50f83..f0c00bb7 100644 --- a/src/components/GlobalHeader/GlobalHeader.vue +++ b/src/components/GlobalHeader/GlobalHeader.vue @@ -105,7 +105,7 @@ export default { } }, mounted() { - document.body.addEventListener('scroll', this.handleScroll, { passive: true }) + document.addEventListener('scroll', this.handleScroll, { passive: true }) }, methods: { handleScroll() { diff --git a/src/components/SettingDrawer/SettingDrawer.vue b/src/components/SettingDrawer/SettingDrawer.vue index e943bbc0..cf277b77 100644 --- a/src/components/SettingDrawer/SettingDrawer.vue +++ b/src/components/SettingDrawer/SettingDrawer.vue @@ -8,7 +8,6 @@ closable @close="onClose" :visible="visible" - :zIndex="9999" >