Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2d0859a7
authored
Jan 16, 2025
by
Netfan
Committed by
GitHub
Jan 16, 2025
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: mouse events ignored on modal loading (#5409)
1 parent
509b268f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
packages/@core/ui-kit/popup-ui/src/modal/modal.vue
packages/effects/common-ui/src/components/api-component/api-component.vue
packages/@core/ui-kit/popup-ui/src/modal/modal.vue
View file @
2d0859a
...
@@ -252,7 +252,7 @@ const getAppendTo = computed(() => {
...
@@ -252,7 +252,7 @@ const getAppendTo = computed(() => {
ref=
"wrapperRef"
ref=
"wrapperRef"
:class=
"
:class=
"
cn('relative min-h-40 flex-1 overflow-y-auto p-3', contentClass,
{
cn('relative min-h-40 flex-1 overflow-y-auto p-3', contentClass,
{
'
pointer-events-none
overflow-hidden': showLoading || submitting,
'overflow-hidden': showLoading || submitting,
})
})
"
"
>
>
...
...
packages/effects/common-ui/src/components/api-component/api-component.vue
View file @
2d0859a
...
@@ -121,7 +121,7 @@ const bindProps = computed(() => {
...
@@ -121,7 +121,7 @@ const bindProps = computed(() => {
[
`onUpdate:
${
props
.
modelPropName
}
`
]:
(
val
:
string
)
=>
{
[
`onUpdate:
${
props
.
modelPropName
}
`
]:
(
val
:
string
)
=>
{
modelValue
.
value
=
val
;
modelValue
.
value
=
val
;
},
},
...
objectOmit
(
attrs
,
[
'onUpdate:value'
]),
...
objectOmit
(
attrs
,
[
`onUpdate:
${
props
.
modelPropName
}
`
]),
...(
props
.
visibleEvent
...(
props
.
visibleEvent
?
{
?
{
[
props
.
visibleEvent
]:
handleFetchForVisible
,
[
props
.
visibleEvent
]:
handleFetchForVisible
,
...
@@ -191,7 +191,6 @@ function emitChange() {
...
@@ -191,7 +191,6 @@ function emitChange() {
}
}
</
script
>
</
script
>
<
template
>
<
template
>
<div
v-bind=
"
{ ...$attrs }">
<component
<component
:is=
"component"
:is=
"component"
v-bind=
"bindProps"
v-bind=
"bindProps"
...
@@ -204,5 +203,4 @@ function emitChange() {
...
@@ -204,5 +203,4 @@ function emitChange() {
<LoaderCircle
class=
"animate-spin"
/>
<LoaderCircle
class=
"animate-spin"
/>
</
template
>
</
template
>
</component>
</component>
</div>
</template>
</template>
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment