Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
ae5a9da4
authored
Apr 29, 2025
by
小敦敦
Committed by
Gitee
Apr 29, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update src/components/Dialog/src/Dialog.vue.
修改关闭弹框的click,增加.stop,阻止冒泡到父组件。 解决修改用户头像,点击关闭弹框时重复弹框的bug。
parent
bc6fadca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/components/Dialog/src/Dialog.vue
+1
-1
No files found.
src/components/Dialog/src/Dialog.vue
View file @
ae5a9da4
...
@@ -91,7 +91,7 @@ const dialogStyle = computed(() => {
...
@@ -91,7 +91,7 @@ const dialogStyle = computed(() => {
icon=
"ep:close"
icon=
"ep:close"
hover-color=
"var(--el-color-primary)"
hover-color=
"var(--el-color-primary)"
color=
"var(--el-color-info)"
color=
"var(--el-color-info)"
@
click=
"close"
@
click
.
stop
=
"close"
/>
/>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment