🌐 AI搜索 & 代理 主页
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/components/modal/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,13 @@ export const BModal = /*#__PURE__*/ Vue.extend({
},
onEnter() {
this.isBlock = true
// We add show class 1 frame after
// We add the `show` class 1 frame later
// `requestAF()` runs the callback before the next repaint, so we need
// two calls to guarantee the next frame has been rendered
requestAF(() => {
this.isShow = true
requestAF(() => {
this.isShow = true
})
})
},
onAfterEnter() {
Expand Down