We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 521b645 commit ec76d1bCopy full SHA for ec76d1b
src/components/NoticeIcon/NoticeIcon.vue
@@ -4,6 +4,7 @@
4
trigger="click"
5
placement="bottomRight"
6
overlayClassName="header-notice-wrapper"
7
+ :getPopupContainer="() => $refs.noticeRef.parentElement"
8
:autoAdjustOverflow="true"
9
:arrowPointAtCenter="true"
10
:overlayStyle="{ width: '300px', top: '50px' }"
@@ -39,7 +40,7 @@
39
40
</a-tabs>
41
</a-spin>
42
</template>
- <span @click="fetchNotice" class="header-notice">
43
+ <span @click="fetchNotice" class="header-notice" ref="noticeRef">
44
<a-badge count="12">
45
<a-icon style="font-size: 16px; padding: 4px" type="bell" />
46
</a-badge>
0 commit comments